Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💚 fix cypress test fixtures #3452

Merged
merged 1 commit into from
Jan 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cypress/cypress.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"fixturesFolder": false,
"fixturesFolder": "fixtures",
"supportFile": "support",
"integrationFolder": "integration",
"pluginsFile": false,
Expand Down
Binary file added cypress/fixtures/images/tile.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions cypress/integration/nav_create_path.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe('Create path', () => {
beforeEach(() => {
cy.setCookie('django_language', 'en');
Cypress.Cookies.preserveOnce('sessionid', 'csrftoken');
cy.intercept("https://*.tile.opentopomap.org/*/*/*.png", {fixture: "images/tile.png"})
});

it('Create path', () => {
Expand Down
1 change: 1 addition & 0 deletions cypress/integration/nav_create_signage.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe('Create signage', () => {
beforeEach(() => {
cy.setCookie('django_language', 'en');
Cypress.Cookies.preserveOnce('sessionid', 'csrftoken');
cy.intercept("https://*.tile.opentopomap.org/*/*/*.png", {fixture: "images/tile.png"})
});

it('Create signage', () => {
Expand Down
1 change: 1 addition & 0 deletions cypress/integration/nav_create_trek.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ describe('Create trek', () => {
beforeEach(() => {
Cypress.Cookies.preserveOnce('sessionid', 'csrftoken');
cy.setCookie('django_language', 'en');
cy.intercept("https://*.tile.opentopomap.org/*/*/*.png", {fixture: "images/tile.png"})
});

it('Create trek', () => {
Expand Down
1 change: 1 addition & 0 deletions cypress/integration/nav_reports_workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ describe('Nav reports workflow', () => {
beforeEach(() => {
Cypress.Cookies.preserveOnce('sessionid', 'csrftoken');
cy.setCookie('django_language', 'en');
cy.intercept("https://*.tile.opentopomap.org/*/*/*.png", {fixture: "images/tile.png"})
});

it('Handles resolved intervention reports', () => {
Expand Down
1 change: 1 addition & 0 deletions cypress/integration/nav_tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe('Nav tabs properties/attachments', () => {
beforeEach(() => {
Cypress.Cookies.preserveOnce('sessionid', 'csrftoken');
cy.setCookie('django_language', 'en');
cy.intercept("https://*.tile.opentopomap.org/*/*/*.png", {fixture: "images/tile.png"})
});

it('Use tabs', () => {
Expand Down
1 change: 1 addition & 0 deletions cypress/integration/nav_tourism.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ describe('Create tourism event', () => {
beforeEach(() => {
cy.setCookie('django_language', 'en');
Cypress.Cookies.preserveOnce('sessionid', 'csrftoken');
cy.intercept("https://*.tile.opentopomap.org/*/*/*.png", {fixture: "images/tile.png"})
});

it('Should dynamicly show/hide cancellation reason', () => {
Expand Down