mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Dashboards: Enable scenes by default (#93818)
* Mark Scenes feature toggles as GA * Move old arch e2e to a new folder * Run E2E on scenes by default * Upgrade e2e-selectors to ensure the tests in Playwright works
This commit is contained in:
@@ -2,9 +2,10 @@ import { expect, test } from '@grafana/plugin-e2e';
|
||||
|
||||
test('should redirect to start page when permissions to navigate to page is missing', async ({ page }) => {
|
||||
await page.goto('/');
|
||||
const homePageTitle = await page.title();
|
||||
const homePageURL = new URL(page.url());
|
||||
await page.goto('/datasources', { waitUntil: 'networkidle' });
|
||||
expect(await page.title()).toEqual(homePageTitle);
|
||||
const redirectedPageURL = new URL(page.url());
|
||||
expect(homePageURL.pathname).toEqual(redirectedPageURL.pathname);
|
||||
});
|
||||
|
||||
test('current user should have viewer role', async ({ page, request }) => {
|
||||
|
||||
Reference in New Issue
Block a user