Skip to content

Commit

Permalink
chore: docs update
Browse files Browse the repository at this point in the history
  • Loading branch information
Soare-Robert-Daniel committed May 10, 2024
1 parent fcfee07 commit 6a354dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/e2e/specs/admin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ test.describe( 'Chart Library', () => {
await page.frameLocator('iframe').getByRole('button', { name: 'Copy' }).click();
const clipboardValue = await page.evaluate(() => navigator.clipboard.readText());
expect( clipboardValue ).toBe( shortcode );

// Check two-way binding of the internal name.

const backendName = 'Test Backend Name';
const chartName = 'Test Chart Name';

Expand All @@ -171,7 +170,7 @@ test.describe( 'Chart Library', () => {

await page.frameLocator('iframe').locator('input[name="title"]').fill(chartName);
const internalNameValue = await page.frameLocator('iframe').locator('#viz-backend-name').inputValue();
expect( internalNameValue ).not.toBe( chartName );
expect( internalNameValue ).not.toBe( chartName ); // Backend title should not be changed by chart title.

await page.frameLocator('iframe').getByRole('button', { name: 'Create Chart' }).click();
await waitForLibraryToLoad( page );
Expand Down

0 comments on commit 6a354dd

Please sign in to comment.