add lighthouse CI checks for core features
Signed-off-by: Emma Indal <emma.indahl@gmail.com>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = async (browser, context) => {
|
||||
// launch browser for LHCI
|
||||
const page = await browser.newPage();
|
||||
await page.goto('http://localhost:3000');
|
||||
await page.evaluate(() => {
|
||||
localStorage.setItem('@backstage/core:SignInPage:provider', 'guest');
|
||||
});
|
||||
await page.goto('http://localhost:3000');
|
||||
};
|
||||
Reference in New Issue
Block a user