Skip to content

Commit cfb66ca

Browse files
committed
Using process ENV to read CYPRESS_BASE_URL
1 parent afd2367 commit cfb66ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cypress/e2e/home.cy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
describe('Home Page', () => {
22
beforeEach(() => {
3-
const baseUrl = Cypress.env('CYPRESS_BASE_URL') || ''
3+
const baseUrl = process.env.CYPRESS_BASE_URL || ''
44
const url = `${baseUrl}/?cs=1000&cc=24&vs=1000&vc=54`
55

66
cy.task("log", `--> Visiting URL: ${url}`)

0 commit comments

Comments
 (0)