Skip to content

Commit

Permalink
feat(pencil): retry logic added
Browse files Browse the repository at this point in the history
  • Loading branch information
pashidlos committed Mar 8, 2021
1 parent bc7b746 commit f0889f8
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions cypress/integration/example2.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

context("Visual Regression Tracker2", () => {
beforeEach(() => {
cy.visit("/commands/location");
cy.visit("/commands/viewport");
});

it("example2", () => {
// cy.get("#navbar").should("be.visible");
cy.vrtTrack("Whole page1");
cy.get("#navbar").should("be.visible");

cy.vrtTrack("Whole page2", { retryLimit: 1 });
cy.vrtTrack("Whole page2");

cy.get("#navbar").vrtTrack("Separate element2");

Expand Down

0 comments on commit f0889f8

Please sign in to comment.