Skip to content

Commit

Permalink
change Design to Create in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
beyackle committed May 4, 2021
1 parent 24a787e commit d0e1fe2
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Composer/cypress/integration/DesignPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ context('breadcrumb', () => {
});

it('can create different kinds of triggers ', () => {
cy.visitPage('Design');
cy.visitPage('Create');
cy.findByTestId('DialogHeader-TestBot_TestSample').click();
cy.findByTestId('recognizerTypeDropdown').click();
cy.findByText('Regular expression recognizer').click();
Expand Down
2 changes: 1 addition & 1 deletion Composer/cypress/integration/HomePage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ context('Home Page ', () => {
cy.createTestBot('EmptySample', ({ id }) => {
cy.visit(`/bot/${id}`);
cy.findByTestId('LeftNavButton').click();
cy.findByTestId('LeftNav-CommandBarButtonDesign').should('exist');
cy.findByTestId('LeftNav-CommandBarButtonCreate').should('exist');
cy.findByTestId('LeftNav-CommandBarButtonBot responses').click();
cy.url().should('include', 'language-generation');
cy.findByTestId('LeftNav-CommandBarButtonUser input').click();
Expand Down
2 changes: 1 addition & 1 deletion Composer/cypress/integration/LuisDeploy.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ context('Luis Deploy', () => {
cy.findAllByTestId('rootLUISRegion').click();
cy.findByText('West US').click();
cy.visitPage('User input');
cy.visitPage('Design');
cy.visitPage('Create');
cy.route({
method: 'POST',
url: 'api/projects/*/build',
Expand Down
6 changes: 3 additions & 3 deletions Composer/cypress/integration/NotificationPage.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ context('Notification Page', () => {
});

it('can show lg syntax error ', () => {
cy.visitPage('Design');
cy.visitPage('Create');
cy.visitPage('Bot responses');

cy.findByTestId('ProjectTree').within(() => {
Expand All @@ -27,7 +27,7 @@ context('Notification Page', () => {
});

it('can show lu syntax error ', () => {
cy.visitPage('Design');
cy.visitPage('Create');
cy.visitPage('User input');

cy.findByTestId('ProjectTree').within(() => {
Expand All @@ -45,7 +45,7 @@ context('Notification Page', () => {
});

// it('can show dialog expression error ', () => {
// cy.visitPage('Design');
// cy.visitPage('Create');

// cy.findByTestId('ProjectTree').within(() => {
// cy.findByText('WelcomeUser').click();
Expand Down
2 changes: 1 addition & 1 deletion Composer/cypress/integration/Onboarding.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ context('Onboarding', () => {
cy.findByText('Application Settings').click();
});
cy.findByTestId('onboardingToggle').click();
cy.visitPage('Design');
cy.visitPage('Create');
});
});

Expand Down

0 comments on commit d0e1fe2

Please sign in to comment.