diff --git a/test/nbrowser/DocTutorial.ts b/test/nbrowser/DocTutorial.ts index d6ce6c71..99b92d88 100644 --- a/test/nbrowser/DocTutorial.ts +++ b/test/nbrowser/DocTutorial.ts @@ -234,7 +234,7 @@ describe('DocTutorial', function () { it('does not play an easter egg when opening an anchor link encoded with rr', async function() { await gu.getCell({rowNum: 1, col: 0}).click(); const link = await gu.getAnchor(); - const easterEggLink = link.replace('r1', 'rr1'); + const easterEggLink = link.replace('.r1', '.rr1'); await driver.get(easterEggLink); await gu.waitForAnchor(); assert.isFalse(await driver.find('.test-behavioral-prompt').isPresent());