Skip to content

Commit

Permalink
remove data-testid
Browse files Browse the repository at this point in the history
  • Loading branch information
aneuwald-ctw committed Aug 28, 2024
1 parent ff9ae94 commit 412e76e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions desktop/integration-test/open-extension.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ describe("websocket connection", () => {
"../../packages/suite-base/src/test/fixtures/lichtblick.suite-extension-turtlesim-0.0.1.foxe",
);

const fileInput = app.renderer.getByTestId("file-input-drag-n-drop");

const fileInput = app.renderer.locator("[data-puppeteer-file-upload]");
await fileInput.setInputFiles(extensionPath);

// Add turtlesim extension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,6 @@ export default function DocumentDropListener(props: Props): JSX.Element {
<>
<input // Expose a hidden input for Puppeteer to use to drop a file in.
type="file"
data-testid="file-input-drag-n-drop"
style={{ display: "none" }}
onChange={(event) => {
if (event.target.files) {
Expand Down

0 comments on commit 412e76e

Please sign in to comment.