feat: cypress accept baseUrl from env

This commit is contained in:
Lin, Hung-Shin committed 2023-09-28 13:27:46 +08:00
1 parent 94e8940369
commit a6ffd6b037
4 files changed
+12 -5

No files matched your search

+1 -1
View File
@@ -1,7 +1,7 @@
/// <reference types="cypress" />
describe('example helloworld app', () => {
beforeEach(() => {
cy.visit('http://localhost:5173')
cy.visit('/')
})
it('open login page', () => {