Commit cd1754ec authored by ζ„šι“'s avatar ζ„šι“ Committed by 偏右

fix e2e test

parent 6d7d119a
......@@ -10,7 +10,7 @@ describe('Login', () => {
beforeEach(async () => {
page = await browser.newPage();
await page.goto('http://localhost:8000/#/user/login', { waitUntil: 'networkidle2' });
await page.goto('http://localhost:8000/user/login', { waitUntil: 'networkidle2' });
await page.evaluate(() => window.localStorage.setItem('antd-pro-authority', 'guest'));
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment