-
Notifications
You must be signed in to change notification settings - Fork 0
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
Fix #26 #27
base: main
Are you sure you want to change the base?
Fix #26 #27
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall be deleted and use yarn lock instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rm this file and rm rf node mudles
, run yarn install to get new lock json
} | ||
browser = null; | ||
// browser = null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shall not be committed, this is for dev only
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete this file as well as package-lock
, run yarn
again to make sure this requires being changed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this file~
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this binary is not necessary for all platform & why do we need to commit this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these seems not necessary for changing
@@ -41,5 +41,9 @@ | |||
"typescript": "^5.3.3", | |||
"webpack": "^5.89.0", | |||
"webpack-cli": "^5.1.4" | |||
}, | |||
"dependencies": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need these two ?
and if needed, shall we put here instead of devDependency?
await rightClickOnElement(page, SELECTORS.EXPLANATION_SECTORS); // 可能有問題 | ||
// console.log(__dirname) | ||
|
||
await pause(1000); | ||
// await execAsync(`python ${__dirname}/scripts/choose_copy_context_menu.py`); | ||
|
||
const copiedText = await page.evaluate(() => navigator.clipboard.readText()); | ||
// await pause(1000); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this ?
|
||
expect(copiedText.startsWith(prefix)).toBeFalsy(); | ||
expect(copiedText).toMatch(TEXT_REGEX); | ||
}, 10000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these are for dev only
Fix the dist can't clean automatic problem.
By using rimraf replace rmdir.