Add performance testing to Cypress results
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
describe('Lighthouse Metrics', () => {
|
||||
beforeEach(() => {
|
||||
cy.visit('http://localhost:8080');
|
||||
});
|
||||
|
||||
it('Capture Metrics', () => {
|
||||
cy.lighthouse({
|
||||
accessibility: 97,
|
||||
'best-practices': 97,
|
||||
seo: 97,
|
||||
performance: 90,
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user