Skip to content

Commit

Permalink
adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tevko committed Nov 20, 2024
1 parent 3d77c75 commit 18fafae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
4 changes: 0 additions & 4 deletions e2e/cypress/e2e/client-admin/conversation.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,10 @@ describe('Conversation: Configure', function () {
cy.get('input[data-test-id="write_type"]').should('be.checked')
cy.get('input[data-test-id="help_type"]').should('be.checked')
cy.get('input[data-test-id="subscribe_type"]').should('be.checked')
cy.get('input[data-test-id="auth_opt_fb"]').should('be.checked')
cy.get('input[data-test-id="auth_opt_tw"]').should('be.checked')

// Schemes section
cy.get('input[data-test-id="is_active"]').should('be.checked')
cy.get('input[data-test-id="strict_moderation"]').should('not.be.checked')
cy.get('input[data-test-id="auth_needed_to_write"]').should('be.checked')
cy.get('input[data-test-id="auth_needed_to_vote"]').should('not.be.checked')
})

it('should create a new conversation with a topic and description', function () {
Expand Down
1 change: 0 additions & 1 deletion e2e/cypress/e2e/client-admin/share.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ describe('Share page', function () {
.then(() => cy.visit(this.adminPath))

cy.get('input[data-test-id="strict_moderation"]').check()
cy.get('input[data-test-id="auth_needed_to_write"]').uncheck()
})

beforeEach(function () {
Expand Down
5 changes: 3 additions & 2 deletions e2e/cypress/e2e/client-participation/social-login.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ const facebookVoteBtn = 'button#facebookButtonVoteView'
const twitterAuthOpt = 'input[data-test-id="auth_opt_tw"]'
const twitterCommentBtn = 'button#twitterButtonCommentForm'
const twitterVoteBtn = 'button#twitterButtonVoteView'

describe('Social login buttons', function () {
// skip this test for now
// eslint-disable-next-line mocha/no-skipped-tests
describe.skip('Social login buttons', function () {
before(function () {
cy.createConvo().then(() => {
cy.seedComment(this.convoId)
Expand Down

0 comments on commit 18fafae

Please sign in to comment.