Skip to content

Commit cd0307e

Browse files
committed
update tests
1 parent 598db42 commit cd0307e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/functional/apps/dashboard/create_and_add_embeddables.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) {
6969
await PageObjects.dashboard.waitForRenderComplete();
7070
});
7171

72-
it('saves the saved visualization url to the app link', async () => {
72+
it('saves the listing page instead of the visualization to the app link', async () => {
7373
await PageObjects.header.clickVisualize(true);
7474
const currentUrl = await browser.getCurrentUrl();
75-
expect(currentUrl).to.contain(VisualizeConstants.EDIT_PATH);
75+
expect(currentUrl).not.to.contain(VisualizeConstants.EDIT_PATH);
7676
});
7777

7878
after(async () => {

test/functional/apps/dashboard/edit_visualizations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export default function ({ getService, getPageObjects }) {
113113
await PageObjects.dashboard.gotoDashboardLandingPage();
114114
await PageObjects.dashboard.clickNewDashboard();
115115

116-
// Create markdown by value.
116+
// Create markdown by reference.
117117
await createMarkdownVis('by reference');
118118

119119
// Edit then save and return

0 commit comments

Comments
 (0)