Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Fixed few failures related to toast_spec & System Scheme (#5257)
Browse files Browse the repository at this point in the history
  • Loading branch information
srkgupta committed Apr 2, 2020
1 parent 59c3d18 commit 4b54008
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 95 deletions.
4 changes: 2 additions & 2 deletions e2e/cypress.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"baseUrl": "http:https://localhost:8065",
"viewportWidth": 1300,
"defaultCommandTimeout": 20000,
"taskTimeout": 20000,
"defaultCommandTimeout": 60000,
"taskTimeout": 60000,
"video": false,
"ignoreTestFiles": "**/node_modules/**/*",
"integrationFolder": "..",
Expand Down
88 changes: 0 additions & 88 deletions e2e/cypress/integration/messaging/create_post_permission_spec.js

This file was deleted.

8 changes: 3 additions & 5 deletions e2e/cypress/integration/toast/toast_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,8 @@ describe('toasts', () => {

beforeEach(() => {
// # Click on town-square then off-topic channels in LHS
cy.get('#publicChannelList').scrollIntoView().should('be.visible').within(() => {
cy.findByText('Town Square').scrollIntoView().should('be.visible').click();
cy.findByText('Off-Topic').scrollIntoView().should('be.visible').click().wait(TIMEOUTS.TINY);
});
cy.get('#sidebarItem_town-square').should('be.visible').click();
cy.get('#sidebarItem_off-topic').should('be.visible').click().wait(TIMEOUTS.TINY);

// * Verify that off-topic channel is loaded
cy.get('#channelIntro').should('be.visible').contains('Beginning of Off-Topic');
Expand Down Expand Up @@ -203,7 +201,7 @@ describe('toasts', () => {

// # Visit another channel and come back to the same channel again
cy.get('#sidebarItem_off-topic').should('be.visible').scrollIntoView().click();
cy.get('div.post-list__dynamic', {timeout: TIMEOUTS.MEDIUM}).should('be.visible');
cy.get('div.post-list__dynamic').should('be.visible');
cy.get('#sidebarItem_town-square').should('be.visible').scrollIntoView().click();

// # Scroll up so bottom is not visible
Expand Down

0 comments on commit 4b54008

Please sign in to comment.