fix: onboarding visual distraction from the entity explorer being hidden (#15446)
This commit is contained in:
parent
712e15a1fc
commit
3fdce8462c
|
|
@ -1,6 +1,7 @@
|
|||
const guidedTourLocators = require("../../../../locators/GuidedTour.json");
|
||||
const onboardingLocators = require("../../../../locators/FirstTimeUserOnboarding.json");
|
||||
const commonlocators = require("../../../../locators/commonlocators.json");
|
||||
const explorerLocators = require("../../../../locators/explorerlocators.json");
|
||||
|
||||
describe("Guided Tour", function() {
|
||||
it("Guided tour should work when started from the editor", function() {
|
||||
|
|
@ -17,6 +18,7 @@ describe("Guided Tour", function() {
|
|||
cy.get(commonlocators.homeIcon).click({ force: true });
|
||||
cy.get(guidedTourLocators.welcomeTour).click();
|
||||
cy.get(guidedTourLocators.startBuilding).click();
|
||||
cy.get(explorerLocators.entityExplorer).should("not.be.visible");
|
||||
// Step 1: Run query
|
||||
cy.runQuery();
|
||||
cy.get(guidedTourLocators.successButton).click();
|
||||
|
|
|
|||
|
|
@ -60,7 +60,10 @@ import { setPreviewModeAction } from "actions/editorActions";
|
|||
import { FlattenedWidgetProps } from "widgets/constants";
|
||||
import { ActionData } from "reducers/entityReducers/actionsReducer";
|
||||
import { batchUpdateMultipleWidgetProperties } from "actions/controlActions";
|
||||
import { setExplorerPinnedAction } from "actions/explorerActions";
|
||||
import {
|
||||
setExplorerActiveAction,
|
||||
setExplorerPinnedAction,
|
||||
} from "actions/explorerActions";
|
||||
import { selectWidgetInitAction } from "actions/widgetSelectionActions";
|
||||
import { hideIndicator } from "pages/Editor/GuidedTour/utils";
|
||||
import { updateWidgetName } from "actions/propertyPaneActions";
|
||||
|
|
@ -175,6 +178,7 @@ function* setUpTourAppSaga() {
|
|||
);
|
||||
// Hide the explorer initialy
|
||||
yield put(setExplorerPinnedAction(false));
|
||||
yield put(setExplorerActiveAction(false));
|
||||
yield put(toggleLoader(false));
|
||||
if (!query) return;
|
||||
history.push(
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user