naturalintelligence / cytorus Goto Github PK
View Code? Open in Web Editor NEWCypress based Gherkin tests runner where you can run tests for a single story or route
Home Page: https://amitkumargupta.work/cytorus
License: MIT License
Cypress based Gherkin tests runner where you can run tests for a single story or route
Home Page: https://amitkumargupta.work/cytorus
License: MIT License
On Windows, running npx cytorus run
fails with the error message Error: Can't walk dependency graph: Cannot find module ... from ...
git checkout https://github.com/NaturalIntelligence/cytorus-boilerplate.git
npm i
npx cytorus run
Cytorus runs without failure.
Cytorus fails and prints the error message Error: Can't walk dependency graph: Cannot find module ... from ...
Hello ๐ I'm writing on behalf of the Cypress DX team. We wanted to write you before the release of Cypress 10, and ask that you ensure this plugin is compatible with our next major release. For more information, here is our official plugin update guide.
We want to remove dependency from cucumber-expressions package so that any change in the library doesn't impact this package. And it can be achieved using regular expression.
Originally posted by amitguptagwl March 8, 2022
it('Show warning outside Chrome', { browser: '!chrome' }, () => {
cy.get('.browser-warning').should(
'contain',
'For optimal viewing, use Chrome browser'
)
})
Cytorus 0.2.9 does not handle tags containing hyphens correctly.
I think this is because bexp treats hyphens as operators. However, the use of hyphens in tags is expected in Cucumebr, so I hope Cytorus will support tags with hyphens.
For example, for the following feature file, I would expect cytorus to run first scenario when --tags @foo-bar
is specified.
Feature: test hyphenated tag expressions
@foo-bar
Scenario: should run on `@all` and `@foo-bar` expressions
Given I start here
@only
Scenario: should run when tag expression is not given
Given I start here
However, the result is that the second scenario is executed, as shown below:
$ npx cytorus run --tags "@foo-bar" --spec cypress/integration/features/hyphenated-tags.feature
(snip)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Running: cytorus-cache/group0.cytorus (1 of 1)
Feature: test hyphenated tag expressions
- Scenario: should run on `@all` and `@foo-bar` expressions
โ Scenario: should run when tag expression is not given (17ms)
- Updating test results
1 passing (246ms)
2 pending
(snip)
Originally posted by amitguptagwl March 8, 2022
Would it be good to provide a feature to load test data from external resources?
Eg
Scenario: GSM list
#> source: resources/investedCompanies.txt
Given the list of invested companies
Then the list of companies in GSM list are displayed as per their level
Alternate
Scenario: GSM list
Given the list of invested companies
"""
resources/investedCompanies.txt
"""
Then the list of companies in GSM list are displayed as per their level
In case of Examples, I couldn't find any right example where the same scenario should rerun for different multiple inputs.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.