vtex-apps / cy-runner Goto Github PK
View Code? Open in Web Editor NEWOrchestrate Cypress tests using YAML in VTEX
Orchestrate Cypress tests using YAML in VTEX
On Cypress Runner version 2 we disabled the feature of pointing tests using *
syntax. Now it would be useful if the config check alarm the user of this new behavior and how to fix it.
Every Cypress run must not exceed 30 minutes.
Use ShellJS on system calls to make the cy-runner compatible with Windows.
Cy-Runner was supposed to run on Windows, but was never tested on it. We need to do it.
If is possible, it would be great If a test gets failed in a strategy then just try that failed test instead of trying all strategy again.
Approach:
Use workspace name in email
I'm trying to install this in my project if I can't understand the documentation well but it looks like this:
In this case, I'm trying to test our template app that calls all BLOCKS.
However, it cannot reach and the following error occurs:
VT does not pass the wheel such as not saying that we need to but when running the project it complains
https://prnt.sc/eXjYQnH7Z8-3
How do I get this vtex id? I looked in the admin settings, and the ID it returns me letters and numbers
If I put a random id it no longer gives this error but another one happens:
Below is how my cy-runner.yml is configured
https://gist.github.com/MarlonPassos-git/d6d6d8791fb16c905f266a4d87650fd2
To get more useful information and drive best the cy-runner decisions, we need to take advantage of Octokit
from GitHub.
Something like that.
import { Octokit } from '@octokit/rest'
export class GitHubInfo {
public ref: GithubRef
public repo: GithubRepo
public owner: GithubUser
public sender: GithubUser
public installation: string
constructor({ ref, repo, owner, sender, installation }: any) {
this.ref = ref
this.repo = repo
this.owner = owner
this.sender = sender
this.installation = installation
}
}
If Jira Integration is enabled, check if there's a token for it. Do the same for every other piece enabled BEFORE RUN.
We need to work on a cy-runner version that deals with Cypress 10+.
[QE] === Toolbelt deployment and authentication ====================================================
===============================================================================================
[✓] /home/runner/.cache/vtex cleaned successfully
[✓] Patched version of toolbelt is installed already
[!] Starting login process using productusqa
- Toolbelt version... vtex/3.0.0 linux-x[64] node-v16.14.0
- Removing old node/.toolbelt.url, if any
- Logging out from any other sessions
- Calling toolbelt... callback file created
- Trying to login on productusqa
[✓] Login on productusqa completed successfully
[QE] === Workspace preparation =====================================================================
===============================================================================================
[QE] === ERROR =====================================================================================
[✗] You have deployCli enabled, but something goes wrong
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.