fix: development port and file name case
This commit is contained in:
parent
f09f06096e
commit
3f29b65b2c
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ test.afterAll(async () => {
|
|||
})
|
||||
|
||||
test('Login', async ({}) => {
|
||||
await page.goto('http://localhost:27015/admin')
|
||||
await page.goto('http://localhost:3010/admin')
|
||||
|
||||
await expect(page).toHaveTitle('Sign in to EDM')
|
||||
await page.fill("input[name='username']", 'admin')
|
||||
|
|
@ -83,7 +83,7 @@ test('Upload File', async () => {
|
|||
await page.waitForTimeout(3000)
|
||||
await expect(
|
||||
page.locator(
|
||||
"//div[@data-pathname='test-upload-file/test-upload-file/test-upload-file/test-upload.txt']",
|
||||
"//div[@data-pathname='test-upload-file/test-upload-file/test-upload-file/file.txt']",
|
||||
),
|
||||
).toContainText(/test-upload-file/)
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue