Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

fix(ct): react build errors (#16882)

sand4rt84888737e248
diff --git a/tests/components/ct-react/src/App.tsx b/tests/components/ct-react/src/App.tsx
index a53698aab3..fa51be8aaa 100644
--- a/tests/components/ct-react/src/App.tsx
+++ b/tests/components/ct-react/src/App.tsx
@@ -1,5 +1,4 @@
-import React from 'react';
-import logo from './logo.svg';
+import logo from './assets/logo.svg';
import './App.css';
function App() {
diff --git a/tests/components/ct-react/src/main.tsx b/tests/components/ct-react/src/index.js
similarity index 89%
rename from tests/components/ct-react/src/main.tsx
rename to tests/components/ct-react/src/index.js
index 6832e7832b..9705643d88 100644
--- a/tests/components/ct-react/src/main.tsx
+++ b/tests/components/ct-react/src/index.js
@@ -1,6 +1,6 @@
import React from 'react';
import ReactDOM from 'react-dom';
-import './index.css';
+import './App.css';
import App from './App';
ReactDOM.render(