Added Playwright info to README #1049
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Andras/BoundlessFlowCampus2K!1049
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "write-in-wiki-about-the-playwrite-#1043"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Either something is wrong on my end, or there is required information missing in the readme. Tried running the commands and had the following results.
Running

npm run test:responsivedid not work and generated the following terminal output.npx playwright test --ui

Terminates with the following error.
npx playwright show-report

Seems to work, but just brings up old test results in the repository.
I believe the problem is currently that we need playwright to be in the installation script so that it is installed on the computer because i had to run the following to make it work when i reinstalled after merge. This is sort of speculation as of now the test itself might need to be looked in to aswell its very simple..
Right now the directoríes that playwright creates after install is in the main branch i think we need to remove all regarding playwright except for the test dir and include it in the install script. This way the directories is correctly installed instead of being "pre-installed" when fetching a branch currently.
I just tried clearing out and reinstalling playwright, still can't seem to get the commands to work.
@f21marfo found the problem!!
Inside of
package.jsonit should say:
for some reason on this branch and probably other ones its not there
Still can't make it work, but now the first command gives a different error message.

Which is honestly puzzling, since "npx playwright show-report" does work, so obviously "playwright" isn't truly an unknown command.
npx playwright test --ui remains unchanged.
This is truly weird and you have tried to refetch the branch?
Yes, even wiped and refetched everything and run the scripts, clean.
@e24aleli && @f21marfo
I think we have some issues that needs to be addressed.
so the libraries that gets installed. shall be in the
package.jsonthe command that runs the script shall also be in the
packagethere shall be an example on the test that can be runned.
Right now those packages gets installed globally on your laptop and it is outside the project
Follow-Up Review.
Though its worth noting the scope of the pull-request has grown from the original issue. On that point.
"npx playwright install" needs also to be added into package json scripts. I informed the developer.
Great job!
Now it is more complete and automatiserade. I approve this pr
Everything looks good after final set of fixes! Lets go!
Good job! I will merge this.