Skip to content

Commit

Permalink
env to cypress
Browse files Browse the repository at this point in the history
  • Loading branch information
nileshgulia1 committed May 11, 2021
1 parent b69dc51 commit baa4774
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions cypress.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"baseUrl": "http://localhost:3000",
"env": {
"API_PATH": "http://localhost:8080/energy"
},
"viewportWidth": 1280,
"defaultCommandTimeout": 15000,
"reporter": "junit",
Expand Down
2 changes: 1 addition & 1 deletion cypress/support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const setupBeforeEach = () => {
path: 'cypress',
});
cy.visit('/cypress/my-page');
cy.waitForResourceToLoad('@navigation');
//cy.waitForResourceToLoad('@navigation');
cy.waitForResourceToLoad('@breadcrumbs');
cy.waitForResourceToLoad('@actions');
cy.waitForResourceToLoad('@types');
Expand Down

0 comments on commit baa4774

Please sign in to comment.