Skip to content

Shadow: ✅ Create plugin navigation utils (v1)#103

Open
allspain wants to merge 5 commits into
shadow/4485/v1-basefrom
shadow/4485/v1
Open

Shadow: ✅ Create plugin navigation utils (v1)#103
allspain wants to merge 5 commits into
shadow/4485/v1-basefrom
shadow/4485/v1

Conversation

@allspain
Copy link
Copy Markdown
Owner

Shadow Review — PR #4485 v1

Source: DataDog/browser-sdk#4485
Commit: 8d89df89a025ece4cdf0bf4127a5c40614f3ae1d
Timestamp: 2026-04-21T08:29:40Z


Original PR Description

Motivation

Some plugins tests are flaky the idea of this PR is to try and mitigate that.

Changes

Add data-testid to plugin tests apps so we don't rely on hardcoded text.
Create navigationUtils for plugins with:

  • clickAndWait
  • navigate
  • clickAndWaitForURL
  • goHome

Test instructions

Run the whole CI, specifically with --repeat-each or
yarn playwright test --config test/e2e/playwright.local.config.ts -g "plugin" to run on all browsers.

Checklist

  • Tested locally
  • Tested on staging
  • Added unit tests for this change.
  • Added e2e/integration tests for this change.
  • Updated documentation and/or relevant AGENTS.md file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants