Replies: 28 comments 40 replies
-
Is there any way to test this? I would love to give it a try! thanks! |
Beta Was this translation helpful? Give feedback.
-
Some first reactions/feedback:
|
Beta Was this translation helpful? Give feedback.
-
I like the basic implementation! Limited commands so can't do much but the basics are there. I was able to add commands but trying to save just gave me a vague "Cypress was unable to save these commands to your spec file." But looking forward to seeing how this feature grows! |
Beta Was this translation helpful? Give feedback.
-
Hey, thanks so much for create Cypress - writing tests with Cypress are a game changer. It would be cool to be able to hook into the code when the "best" selector is being determined. |
Beta Was this translation helpful? Give feedback.
-
It would be great if during the experimental phase (or permanently) could output the recorded steps in "raw" format to the log or to an expandable textarea in the left pane, either in csv format or line by line with the number being the test step delimiter which you already are logging in the left pane. Sample: --- OR --- |
Beta Was this translation helpful? Give feedback.
-
It would be very helpful if there was a method to capture requests and turn them into fixtures. |
Beta Was this translation helpful? Give feedback.
-
I'm looking for an elegant way to be-able to read csv files that describes "dynamic tests" from fixtures prior to tests are being loaded. I know I can do it by adding a csv loader to the webpack config, or I can describe what need in json format and just use require('my.json') but the foot print is so much smaller when you describe the test in csv vs. json and much much faster to author in csv format. |
Beta Was this translation helpful? Give feedback.
-
When attempting to provide feedback via the 'Give Feedback' button in the Testrunner, Cypress shuts down if you're running the test in the Electron browser. TypeError: Cannot read property 'show' of undefined 'Give Feedback' works fine when running tests in Chrome or Edge. Maybe worth to note I upgraded to Cypress 6.4.0 before using Cypress Studio. Don't know if Cypress Studio is not intended to be used with Electron. If so perhaps you could add the use of Chrome or Edge to the prerequisites of the Realworld-App |
Beta Was this translation helpful? Give feedback.
-
Here are one suspect issue i saw: |
Beta Was this translation helpful? Give feedback.
-
I really like this feature. My main feedback is that I would like to see more commands implemented, specifically I think keyboard presses should be recorded so we can do testing of keyboard accessibility. I would like to assume more commands are planned, but I don't see issues in the backlog. Somewhat related to keyboard testing, it would also be helpful if the testing "frame" was focused when you click the record button. This way, the tab order will start at the right place. |
Beta Was this translation helpful? Give feedback.
-
Hello! This tandem makes Storybook-like solutions almost useless for me. Each test can be considered as an example and it’s definitely better than support “stories” in separated files. Hope that https://github.com/evanw/esbuild or similar projects will be more mature and popular and compile time won’t be a problem soon. P.S. There is a visual bug in cypress@6.5.0. Studio’s magic wand icon becomes invisible in case you have long description string in ‘it()’ statement. Sorry, can’t attach the screenshot now as I write it from phone. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hi, first of all, thank you for the tool "Cypress Studio" which greatly facilitates the tests. I have one question about the automatisation of the Drag and Drop event in Cypress: Do you know if the future releases of Cypress Studio will be able to deal with the Drag & Drop event justly ?. Thank you. |
Beta Was this translation helpful? Give feedback.
-
This is soooo cool. Add a checkbox, so that when the checkbox is checked it adds not to every assertion that it suggests in the assertions menu. that way it doesn't have to guess what is being intended. |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, Does anyone can manage the Drag & Drop with Cypress ?. I justly installed the plugin "drag-and-drop" but i can't automatise the D&D on my page. Moreover, don't hesitate to reply if you have code examples about automatisation of the D&D with Cypress ;). Thank you :). |
Beta Was this translation helpful? Give feedback.
-
Hello from Texas! I'm having trouble getting Cypress Studio to recognize the right click on page elements in the preview area but only on our company's site. On other pages, like the Kitchen Sink test site, it works fine. I worry that our app might be hijacking the right-click in some way. Is there a good diagnostic approach I can use to find out why Cypress Studio might not be "seeing" the right-click? Instead of the Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I want to test a download PDF button with Cypress. During a dowload process, Cy register the file in cypress/downloads. My PDF file to test is registered but i can't parse it with my task command. I got this error message on the test runner "Invalid PDF structure". When i open manually my pdf file in cypess/downloads, i only have this text "This PDF file is encrypted and can't be opened. " on a single page. Does anyone knwo how to fix it ?. Thank you. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Would it be possible to always run Cypress Studio in "Add Commands to Test" mode (based on a setting available to the user)? As long as the test ran successfully, I would like to add stuff to it. I'm creating a lot of tests now, and I notice that I have to interrupt the running tests a lot by clicking the magic wand to switch to "edit mode". |
Beta Was this translation helpful? Give feedback.
-
Is there a way to have a
|
Beta Was this translation helpful? Give feedback.
-
I have a fictitious Order page that has all the HTML5 controls on it: Here are controls that are not automated and filled correctly: |
Beta Was this translation helpful? Give feedback.
-
How can I configure Cypress Studiot to look for a file within a specific subdirectory? My test file runs from
It looks like Cypress naively assumes the est file will always be executed from the root of the project, but my tests are executed from within a |
Beta Was this translation helpful? Give feedback.
-
Thank you for this helpful tool! Just wondering if there is a way to auto-generate intercepted routes via Cypress Studio? Meaning that when adding commands to the spec I could right click a link and an intercepted route is generated by the studio. ChatGPT is suggesting ("Right click on an element that you want to assert on or intercept a request from.") that there is such a feature but all that I can find is the normal right-click Assertion options. Or maybe I misunderstood something. |
Beta Was this translation helpful? Give feedback.
-
No such feature exists in Studio at this point. Can you explain more about how you would like this to work? Eg: I'm understanding you want to click a button and it launches an API request, and you'd like to intercept this. Do you want to return some mock data? Eg, you'd like to see a UI that lets you chose a fixture, or enter some test data, as part of the Studio flow? |
Beta Was this translation helpful? Give feedback.
-
Hey team, As an automation developer with two years of experience in Cypress, I recently explored the idea of involving non-technical testers in test automation using Cypress Studio. While I appreciate the tool's potential, I've identified a few drawbacks that I believe need consideration and improvement: Inconsistent Element Selection:Cypress Studio uses a structure from the outermost HTML element to the innermost for element selection. This approach can result in inconsistency and might not be the most robust method for all scenarios. Dynamic Selectors and Coordinates:Cypress Studio occasionally utilizes dynamic selectors that change with each run and coordinates as selectors, creating inconsistency, especially when dependent on window size. A more stable approach to element selection could enhance the reliability of tests. Default Wait Time and API Waits:Cypress Studio lacks a default wait time, and automatic API waits are not included in the generated code. Running code without manually adding waits may lead to failures, particularly when there's no wait for the required page to load. Including better support for handling wait times in the generated code would significantly improve the tool's usability. I believe addressing these concerns would make Cypress Studio more user-friendly for non-technical testers. I appreciate your consideration of these suggestions and look forward to seeing how Cypress Studio evolves. These proposed changes aim to improve the user experience, reduce potential sources of test failure, and ultimately make Cypress Studio a more effective and user-friendly tool for non-technical testers. Your consideration of these enhancements is crucial in achieving a more streamlined and reliable automated testing process. |
Beta Was this translation helpful? Give feedback.
-
Of course and now that I am back to writing cypress tests again and generating non-trivial amount of intercepted api calls it is time to provide it. Playing around with browser dev-tools realized that it is possible to generate intercepts from the output of "Copy all as HAR". Would love to have a feature in Cypress that would allow me to generate code for the intercepted calls from this "HTTP Archive Format" log file. Work flow would involve:
Hope this clarifies the request (pun intended) bit more :) |
Beta Was this translation helpful? Give feedback.
-
Hi, Very nice new feature, I will test it the coming days. One suggestion : It would be fantastic if one could select an entry from an autocomplete. So .type('somevalue'), the list appears, and then select an option from the list, which is then added to the test script. Kind regards, Rob. |
Beta Was this translation helpful? Give feedback.
-
Hi Team This is a great feature. |
Beta Was this translation helpful? Give feedback.
-
Hey everyone, thanks so much for testing out the early Beta of Cypress Studio!
We really appreciate any and all feedback that you have to provide. Please use this thread as a place to provide feedback, request features, or just comment on Cypress Studio in general.
If you have a larger issue to report (and it's not already listed here), please file a dedicated issue.
Some features that are in development:
Some features that we're considering releasing in the future:
Features that have been added since initial release:
We're super excited about releasing this feature and can't wait to see the tests that you create with it!
Studio Issue Tracker
Studio Documentation
Beta Was this translation helpful? Give feedback.
All reactions