Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to Playwright #466

Merged
merged 1 commit into from
Jul 4, 2024
Merged

Migrate to Playwright #466

merged 1 commit into from
Jul 4, 2024

Conversation

Jyyjy
Copy link
Contributor

@Jyyjy Jyyjy commented Jun 13, 2024

No description provided.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

license-eye has checked 115 files.

Valid Invalid Ignored Fixed
80 16 19 0
Click to see the invalid file list
  • build/UserALEWebExtension/background.d.ts
  • build/UserALEWebExtension/background.js
  • build/UserALEWebExtension/content.d.ts
  • build/UserALEWebExtension/globals.d.ts
  • build/UserALEWebExtension/messageTypes.d.ts
  • build/UserALEWebExtension/options.d.ts
  • build/attachHandlers.d.ts
  • build/configure.d.ts
  • build/getInitialSettings.d.ts
  • build/main.d.ts
  • build/packageLogs.d.ts
  • build/sendLogs.d.ts
  • build/utils/auth/index.d.ts
  • build/utils/headers/index.d.ts
  • build/utils/index.d.ts
  • test/e2e/package.config.ts
Use this command to fix any missing license headers
```bash

docker run -it --rm -v $(pwd):/github/workspace apache/skywalking-eyes header fix

</details>

build/UserALEWebExtension/background.d.ts Outdated Show resolved Hide resolved
build/UserALEWebExtension/background.js Outdated Show resolved Hide resolved
build/UserALEWebExtension/content.d.ts Outdated Show resolved Hide resolved
build/UserALEWebExtension/globals.d.ts Show resolved Hide resolved
build/UserALEWebExtension/messageTypes.d.ts Outdated Show resolved Hide resolved
build/sendLogs.d.ts Outdated Show resolved Hide resolved
build/utils/auth/index.d.ts Outdated Show resolved Hide resolved
build/utils/headers/index.d.ts Outdated Show resolved Hide resolved
build/utils/index.d.ts Outdated Show resolved Hide resolved
test/e2e/package.config.ts Outdated Show resolved Hide resolved
jest.config.ts Outdated Show resolved Hide resolved
test/e2e/package.config.ts Outdated Show resolved Hide resolved
test/e2e/spec/package.spec.ts Outdated Show resolved Hide resolved
@Jyyjy Jyyjy marked this pull request as ready for review July 2, 2024 05:07
const config = res.useraleConfig;
browser.storage.local.get([configKey], (res) => {
const payload = res[configKey];
console.log(payload);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftovers?

src/types.d.ts Outdated
@@ -154,7 +154,7 @@ export declare namespace Callbacks {
export declare namespace Extension {
export type PluginConfig = { urlWhitelist: string };
export type ConfigPayload = {
useraleConfig: Settings.Config;
useraleConfig: Settings.Config<Partial>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this supposed to be a partial over Settings.Config.... I've never seen this syntax. If so, shouldn't it be:

Partial<Settings.Config>

??

@@ -17,7 +17,7 @@
<!doctype html>
<html>
<head>
<script src="../build/userale-2.4.0.min.js"></script>
<script src="../../../build/userale-2.4.0.min.js"></script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We ought to remove version numbering from our build artifacts, otherwise every time we bump a version, all these tests break/go stale...

@Jyyjy Jyyjy merged commit 40bc58d into master Jul 4, 2024
3 checks passed
@Jyyjy Jyyjy deleted the 419-ext-test branch July 4, 2024 02:01
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