Skip to content

Commit

Permalink
Changing contains to equals to see if that improves stability of test
Browse files Browse the repository at this point in the history
  • Loading branch information
lreading committed Apr 21, 2022
1 parent f136dad commit 276d15f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td.vue/tests/e2e/specs/threatmodel/edit-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ describe('editing a threat model', () => {
cy.setupTest();
cy.get('#local-login-btn').click();
cy.get('a[href="#/local/threatmodel/new"]').click();
cy.url().should('contain', '/local/New%20Threat%20Model/edit');
cy.url().should('equal', Cypress.config().baseUrl + '#/local/New%20Threat%20Model/edit');
});

afterEach(() => {
Expand Down

0 comments on commit 276d15f

Please sign in to comment.