Comments (6)
I have been using Cypress and playwright (more recently). The latter is definitely better in term of webbrowser support (for instance Cypress does not support webkit - cypress-io/cypress#6422). Another advantage seen is a more pertinent selector when using the code generation feature of playwright than the one proposed by cypress when building a test case.
On the other hand the tools provided by Cypress are more advanced in term of UI for designing and debugging the tests - although playwright is progressing on that front with the introduction of the inspector in the latest version 1.9.0.
Another feature I like from playwright is the support of Python because I have never seen on the JS side a test framework as powerful as pytest.
from galata.
For the jupyterlab benchmarks, we have been happy users of playwright
from galata.
JupyterLab Classic also uses Playwright to do end to end testing with multiple browser tabs (opening notebooks in new tabs), and to be able to record videos: jupyterlab/retrolab#96
from galata.
Thanks for the input everyone! I am experimenting with Playwright in the PR https://github.com/mbektasbbg/galata/pull/11 . Basic tests are working fine as before. I will try more advanced test cases.
from galata.
I've also been using Cypress as well.
from galata.
Welp, I can't claim any experience with any of the above-mentioned tools. I have suffered through a number of only-works-for-this-library-in-this-language-in-this-browser tools in the past, which has soured me on JS-based approaches.
I'm not trying to sell anything, but when I do try to sell automated system testing to a multi-group project, i highlight these points:
- if the test can be described and agreed upon before a complex feature is even written, more stakeholders have agency
- the report needs to come back in a way that closely matches the description
- the less the test description changes before the feature ships, while keeping the ability to rapidly agree to changes, increases engagement
- being able to robustly automate things other than browsers is important, e.g.
- Verify that the last downloaded opens in excel without warnings
- Start a virtual machine with MyApplication.ova
- once a team really hits its stride, The Next Test should often need to be a row in a (schema constrained) data file
- the installation profile of the toolchain needs to be highly predictable and portable
- separating the system-under-test from the test environment from the instrumentation
- it needs to work on the worst thing your project touches (e.g. a raspberry pi, special snowflake windows xp machine that runs microscope)
so after doing that... i usually end up back at robotframework with selenium, for all its warts. Turns out one can have playwright, as well, but i haven't investigated it.
from galata.
Related Issues (20)
- Rename the default branch to main HOT 1
- Galata appears to not work with JupyterLab 3.0.9 HOT 1
- --update-references could maybe create the reference directory HOT 2
- Add theme option HOT 1
- Rendering artifacts lead to false positive HOT 3
- Create RELEASE.md
- Allow for custom tab bar ids HOT 1
- More robust way to move items to the left area HOT 2
- Switch from npm to yarn (or jlpm) for development
- Update the JupyterLab version
- Automate releases HOT 3
- Format with ESLint and Prettier HOT 1
- Toggling simple mode should wait for switch animation to end HOT 1
- Can't connect to WS after launching separate headless chrome instance HOT 10
- notebook.createNew should wait for rename properly HOT 1
- Improve Image Diff viewer in result report HOT 4
- From galata using playwright to playwright with galata HOT 5
- Support for alternate JupyterLab distributions
- Fix top-level version in `package.json` for the releaser HOT 1
- Archive the repository HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from galata.