Skip to content

Commit 88703ad

Browse files
committed
fix(journeys): revert to nested elements where required
1 parent 4ea5060 commit 88703ad

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/journeys/lib/test-helpers/space-widget/featureFlags.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,12 @@ export default function featureFlagTests(browserWithAllTheFeatures, browserWithN
3333
it('has a call option for user with feature flag', () => {
3434
browserWithAllTheFeatures.click(mainElements.menuButton);
3535
browserWithAllTheFeatures.waitForVisible(mainElements.activityMenu);
36-
assert.isTrue(browserWithAllTheFeatures.isVisible(meetElements.callButton));
36+
assert.isTrue(
37+
browserWithAllTheFeatures
38+
.element(mainElements.controlsContainer)
39+
.element(meetElements.callButton)
40+
.isVisible()
41+
);
3742
browserWithAllTheFeatures.click(mainElements.exitButton);
3843
});
3944

0 commit comments

Comments
 (0)