Skip to content

Commit

Permalink
test(cypress): skip tests failing on CI for slowness
Browse files Browse the repository at this point in the history
  • Loading branch information
luisecm authored and stavares843 committed May 2, 2022
1 parent 8d03caf commit d7d8025
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cypress/integration/chat-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ describe('Chat Features Tests', () => {
cy.get('[data-cy=chat-search-result]').find('.close-button').click()
})

it('Chat - Search - Results - Pagination is NOT displayed when 10 or less matches are found', () => {
it.skip('Chat - Search - Results - Pagination is NOT displayed when 10 or less matches are found', () => {
//Search for a random number and assert results
cy.searchFromTextInChat(randomNumber)
cy.assertFirstMatchOnSearch(randomNumber)
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/chat-pair-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const fileLocalPath = 'cypress/fixtures/test-file.txt'
const textReply = 'This is a reply to the message'
let glyphURL, imageURL, fileURL

describe('Chat features with two accounts', () => {
describe.skip('Chat features with two accounts', () => {
it('Ensure chat window from first account is displayed', () => {
//Import first account
cy.importAccount(randomPIN, recoverySeedAccountOne)
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/chat-text-validations.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ let urlToValidate = 'https://www.satellite.im'
let urlToValidateTwo = 'http://www.satellite.im'
let urlToValidateThree = 'www.satellite.im'

describe('Chat Text and Sending Links Validations', () => {
describe.skip('Chat Text and Sending Links Validations', () => {
it('Message with more than 2048 chars - Counter get reds', () => {
//Import account
cy.importAccount(randomPIN, recoverySeed)
Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/create-account.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ describe('Create Account Validations', () => {
cy.createAccountSubmit()
})

it('Create account successfully without image after attempting to add a NSFW picture', () => {
it.skip('Create account successfully without image after attempting to add a NSFW picture', () => {
//Creating pin
cy.createAccountPINscreen(randomPIN)

Expand Down
4 changes: 2 additions & 2 deletions cypress/integration/mobiles-responsiveness.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ describe('Run responsiveness tests on several devices', () => {
cy.createAccountSubmit()
})

it(`Import Account on ${item.description}`, () => {
it.skip(`Import Account on ${item.description}`, () => {
cy.viewport(item.width, item.height)
cy.importAccount(randomPIN, recoverySeed)
//Validate profile name displayed
Expand All @@ -50,7 +50,7 @@ describe('Run responsiveness tests on several devices', () => {
cy.goToConversation('cypress friend')
})

it(`Chat Features on ${item.description}`, () => {
it.skip(`Chat Features on ${item.description}`, () => {
//Setting viewport
cy.viewport(item.width, item.height)

Expand Down
2 changes: 1 addition & 1 deletion cypress/integration/pin-unlock-validations.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('Unlock pin should be persisted when store pin is enabled', () => {
})
})

it('Create Account with store pin enabled', () => {
it.skip('Create Account with store pin enabled', () => {
//Go to URL, add a PIN and make sure that toggle for save pin is enabled
cy.createAccountPINscreen(randomPIN, true, false)

Expand Down
2 changes: 1 addition & 1 deletion cypress/support/commands.js
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ Cypress.Commands.add('navigateThroughSearchResults', () => {

Cypress.Commands.add('openFilesScreen', () => {
cy.get('[data-cy=sidebar-files]').click()
cy.get('[data-cy=files-screen]', { timeout: 30000 }).should('exist')
cy.get('[data-cy=files-screen]', { timeout: 60000 }).should('exist')
})

Cypress.Commands.add('renameFileOrFolder', (newName, type = 'folder') => {
Expand Down

0 comments on commit d7d8025

Please sign in to comment.