Comments (4)
Привет. Например это необходимо для того, чтобы протестировать поведение и представление компонентов.
Для компонентного тестирования у нас есть вот такое решение: https://github.com/gemini-testing/testplane/blob/master/docs/component-testing.md
Посмотреть примеры можно вот тут: https://github.com/gemini-testing/testplane/tree/master/examples/component-testing
Поддержка пока экспериментальная, но мы планируем довести это до
stable
.
Это окей. Но у нас уже есть решение (оно в целом чуть более сложное, чем обычное компонентное тестирование), которое работает и где в качестве средства поднятия браузера, коннекта по cdp и т.д. используется playwright. Была идея не плодить сущности и отказаться от playwright. Для этого нам бы хотелось видеть в testplane то, что я описал выше. Если это сложно/невозможно/непопулярный юзкейс, то в целом тоже ок.
from hermione.
Привет!
Хотелось бы сначала уточнить: какие у этого юзкейсы? Для чего нужна такая возможность?
from hermione.
Привет!
Хотелось бы сначала уточнить: какие у этого юзкейсы? Для чего нужна такая возможность?
Привет. Например это необходимо для того, чтобы протестировать поведение и представление компонентов. В jsdom получится протестировать только поведение. В полноценных е2е тестах сложно эмулировать большое число разных вводных для компонента.
from hermione.
Привет. Например это необходимо для того, чтобы протестировать поведение и представление компонентов.
Для компонентного тестирования у нас есть вот такое решение: https://github.com/gemini-testing/testplane/blob/master/docs/component-testing.md
Посмотреть примеры можно вот тут: https://github.com/gemini-testing/testplane/tree/master/examples/component-testing
Поддержка пока экспериментальная, но мы планируем довести это до stable
.
from hermione.
Related Issues (20)
- Methods of the object stored in hermione.ctx are not passed to the test HOT 9
- Некорректный тип функции `it(` HOT 4
- v9.0.0: Breaking changes
- Use Chrome's new Headless mode HOT 3
- Отсутствуют типы для метода moveCursorTo HOT 1
- Тесты на типы HOT 2
- Perform preliminary research and develop a solution for automatic API reference generation or typings
- moveCursorTo не идентичен moveTo в hermione 7 (move target out of bounds) HOT 5
- hermione.ctx нельзя типизировать HOT 4
- Not clear how to create wrapper and fail test with browser.mock HOT 2
- Add a handy way to screenshot the viewport
- В тесте недоступно поле browserId HOT 5
- Пропала типизация describe/it и т.п. HOT 2
- Preload the element completely before taking a screenshot
- Implement throttling of test commands
- Add ability to rerun all failed tests
- Update webdriverio package
- Add github-action for CI
- Ссылка на документацию в репозитории HOT 1
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 hermione.