Skip to content

Commit

Permalink
alterando ordem de chamada
Browse files Browse the repository at this point in the history
  • Loading branch information
feroline committed Aug 30, 2024
1 parent 7d20be3 commit d16743a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cypress/e2e/elements/links.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ beforeEach(() => {

describe('Open new tab', () => {
describe('Simple Link', () => {
it('Check FrontEnd (Opens New Tab)', () => {
it.only('Check FrontEnd (Opens New Tab)', () => {
Links.getsimpleLink().then(($link) => {
cy.visit(Links.getPropHref($link));
Links.checkRedirectFrontHome();
cy.url().should('be.equal', `${baseUrl}/`);
Links.checkRedirectFrontHome();
});
});

Expand All @@ -38,8 +38,8 @@ describe('Open new tab', () => {
it('Check FrontEnd (Opens New Tab)', () => {
Links.getDynamicLink().then(($link) => {
cy.visit(Links.getPropHref($link));
Links.checkRedirectFrontHome();
cy.url().should('be.equal', `${baseUrl}/`);
Links.checkRedirectFrontHome();
});
});
it('Check Backend (API)', () => {
Expand Down

0 comments on commit d16743a

Please sign in to comment.