Skip to content

Commit

Permalink
Fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmerkel committed Jan 10, 2021
1 parent a8cdee9 commit bf5c71b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cypress/fixtures/CounterAdrsAllRepos.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"counter": "42"
"counter": "4"
}
2 changes: 1 addition & 1 deletion cypress/fixtures/CounterAdrsPerRepo.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"counter": "14"
"counter": "4"
}
2 changes: 1 addition & 1 deletion cypress/fixtures/CounterDiffAllRepos.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"counter": "30"
"counter": "4"
}
2 changes: 1 addition & 1 deletion cypress/fixtures/CounterDiffPerRepo.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"counter": "8"
"counter": "4"
}
1 change: 1 addition & 0 deletions cypress/integration/adrManagerTest/EmpiricalAnalysis.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ context("Should test empirical add and open function of adr-manager", () => {
cy.get('[data-cy=addRepo]').click();

cy.intercept('GET', '**/user/repos**').as('getRepos');
cy.wait(5000);
cy.wait('@getRepos').its('response.statusCode').should('eq', 200);
cy.writeFile('cypress/fixtures/CounterDiffPerRepo.json', { counter: "0" });
cy.writeFile('cypress/fixtures/CounterAdrsPerRepo.json', { counter: "0" });
Expand Down

0 comments on commit bf5c71b

Please sign in to comment.