mirror of
https://github.com/nowcommunity/nowdatabase.git
synced 2026-10-12 19:13:52 +03:00
changed cypress env variable name
This commit is contained in:
committed by
Eero Antikainen
parent
31d5ca8add
commit
fc200231d7
+1
-1
@@ -8,7 +8,7 @@ module.exports = defineConfig({
|
||||
baseUrl: 'http://localhost:5173/',
|
||||
},
|
||||
env: {
|
||||
backendUrl: "http://backend:4000/test/reset-test-database"
|
||||
databaseResetUrl: "http://backend:4000/test/reset-test-database"
|
||||
},
|
||||
viewportHeight: 900,
|
||||
viewportWidth: 1200,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
before('Reset database', () => {
|
||||
cy.request(Cypress.env("backendUrl"));
|
||||
cy.request(Cypress.env("databaseResetUrl"));
|
||||
});
|
||||
|
||||
describe('Open each page, table view and detail view, and check at least some correct text appears', () => {
|
||||
|
||||
@@ -22,7 +22,7 @@ const doesNotHaveStagingMode = (viewUrl) => {
|
||||
}
|
||||
|
||||
before('Reset database', () => {
|
||||
cy.request(Cypress.env("backendUrl"));
|
||||
cy.request(Cypress.env("databaseResetUrl"));
|
||||
});
|
||||
|
||||
describe('Test individual features across the app', () => {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*/
|
||||
|
||||
before('Reset database', () => {
|
||||
cy.request(Cypress.env("backendUrl"));
|
||||
cy.request(Cypress.env("databaseResetUrl"));
|
||||
});
|
||||
|
||||
describe('Button Tests', () => {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
before('Reset database', () => {
|
||||
cy.request(Cypress.env("backendUrl"));
|
||||
cy.request(Cypress.env("databaseResetUrl"));
|
||||
});
|
||||
|
||||
describe('Broadly test what different user rights see', () => {
|
||||
|
||||
Reference in New Issue
Block a user