[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2024-03-27 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Brendan Lawlor changed: What|Removed |Added CC||blaw...@clamsnet.org -- Y

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-12-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #32 from Philip Orr --- so, I did 10 random easy screenshots from the spreadsheet. It all worked. Here is the code: (Please tell me if I should add this as an attachment instead of as a comment!) Screenshot for: About ->

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-12-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #31 from Philip Orr --- (In reply to Katrin Fischer from comment #30) > (In reply to Philip Orr from comment #29) > > note for future me: > > If after fetching from joubu you get an error message in Koha: > > DBIx::Class:

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-12-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #30 from Katrin Fischer --- (In reply to Philip Orr from comment #29) > note for future me: > If after fetching from joubu you get an error message in Koha: > DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD:

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-12-29 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #29 from Philip Orr --- note for future me: If after fetching from joubu you get an error message in Koha: DBIx::Class::Storage::DBI::_dbh_execute(): DBI Exception: DBD::mysql::st execute failed: Unknown column 'lang' in

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-12-08 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Lucas Gass changed: What|Removed |Added CC||lu...@bywatersolutions.com --

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-12-06 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Jonathan Druart changed: What|Removed |Added See Also||https://bugs.koha-communit

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-10-25 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #28 from Caroline Cyr La Rose --- 10.6% of images have been analyzed 50% are easy and 16% are medium We will start with 10 easy images and add the code here as an attachment. Jonathan will check the generated code and se

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-08-31 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Emmanuel Bétemps changed: What|Removed |Added CC||e.bete...@gmail.com --

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-08-16 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Jessie Zairo changed: What|Removed |Added CC||jza...@bywatersolutions.com

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-08-09 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #27 from Jonathan Druart --- (In reply to Caroline Cyr La Rose from comment #26) Caroline, you are awesome! :) I am looking forward to discuss all this with you in a few days in Helsinki, see you soon! During a talk ne

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-08-07 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #26 from Caroline Cyr La Rose --- Ok, it took me a lot of trial and error (around 1.5 hours worth), but I got step 7 done. Look at this gorgeous screenshot! https://snipboard.io/bhyizO.jpg (lol!!) I tried making a test f

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-24 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #25 from Jonathan Druart --- Aude, can you try: % node -v What does it return? If diferent than 14, (something like v14.21.1) then please try: % sudo npm install -g n % sudo n 14 -- You are receiving this mail because:

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-24 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #24 from Aude Charillon --- My turn to have a go... I feel like we're doing this in order of who's most comfortable with these types of tool, and I'll readily admit that I'm definitely at the bottom of the ladder! :-D An

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #23 from Caroline Cyr La Rose --- (In reply to Jonathan Druart from comment #22) > Yes, add+commit is better. > > I meant: I don't know how keep an up-to-date version of the test plan. > Adding a new comment here does no

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #22 from Jonathan Druart --- Yes, add+commit is better. I meant: I don't know how keep an up-to-date version of the test plan. Adding a new comment here does not feel very optimal. -- You are receiving this mail becaus

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #21 from Caroline Cyr La Rose --- (In reply to Jonathan Druart from comment #20) > (In reply to Caroline Cyr La Rose from comment #17) > > In step 6 still, the first commit command didn't work for me, I think > > because

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #20 from Jonathan Druart --- (In reply to Caroline Cyr La Rose from comment #17) > In step 6 still, the first commit command didn't work for me, I think > because the file did not exist before (nothing added to commit bu

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #19 from Jonathan Druart --- (In reply to Caroline Cyr La Rose from comment #17) > On step 5, all the tests end up red (they were all green in step 3), and I > only have 3 screenshots. I have a lot of languages installed

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-20 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #18 from Caroline Cyr La Rose --- I redid step 5 after removing all the additional languages in my Koha and they were all green! I don't remember exactly which command ended up working, but I think it was git clean -fxd

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-20 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #17 from Caroline Cyr La Rose --- With Jonathan's help, I was finally able to run KTD and Cypress. I don't know/remember all the problems we ran into, but I apparently have to delete /kohadevbox/Cypress from the docker (o

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-20 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Jonathan Druart changed: What|Removed |Added See Also||https://bugs.koha-communit

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-19 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Philip Orr changed: What|Removed |Added Attachment #153491|0 |1 is obsolete|

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #16 from Philip Orr --- Didn't mean to attach a patch, just to sign off.. Sorry! Anyway everything worked for me and imo it wasn't too complicated for non-devs like me to use. See the above comments for more info. -- Yo

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #15 from Philip Orr --- Created attachment 153491 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=153491&action=edit Bug 33956: Use Koha::Biblio->opac_summary_html from opac-user.pl This code is current

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #14 from Philip Orr --- OK, got it working. Apparently the cy.select part was trying to select an option too soon when it hadn't been loaded yet? Anyway just adding cy.wait(2000); before selecting the option in the syspre

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #13 from Philip Orr --- sorry, missed a closing parenthesis there - should be: cy.query( //we remove the accountlines for patron we will use (edna) -- You are receiving this mail because: You are watching all bu

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-14 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #12 from Philip Orr --- Thanks for the update. After a git pull step 6 works for me now, no problems. I'm getting a different error now in part 7: >>We want to modify this code to define the conditions to make it always

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #11 from Caroline Cyr La Rose --- The error "No protocol specified" from step 2 is this ``` Cypress failed to start. This may be due to a missing library or dependency. https://on.cypress.io/required-dependencies Pleas

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Tomás Cohen Arazi changed: What|Removed |Added CC||tomasco...@gmail.com --

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #10 from Jonathan Druart --- (In reply to Philip Orr from comment #8) > Note for clarity's sake: > In step 6: > >>Commit! % git commit -a -m"auto librarylist" > Should be done in ktd --shell. You can do this on your host

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #9 from Philip Orr --- In step 6, at this step: >>So edit again and add a "wait_for_ajax" call (that is doing what its named >>says it does): I get an error running the test after adding the cy.wait_for_ajax call: TypeE

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #8 from Philip Orr --- Note for clarity's sake: In step 6: >>Commit! % git commit -a -m"auto librarylist" Should be done in ktd --shell. -- You are receiving this mail because: You are watching all bug changes.

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #7 from Philip Orr --- A note for Windows users: In step 4, If you're using ktd on wsl, your screenshots will be in your wsl subsystem. If you want to look at them in windows, you can do that easily in Windows by opening

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-13 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Philip Orr changed: What|Removed |Added CC||philip@lmscloud.de --- Com

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #5 from Jonathan Druart --- I have pushed a branch at https://gitlab.com/joubu/Koha/-/commits/cypress-studio The git log is a bit dirty but at least shows how I reached the current state. Note that this first try (POC) a

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #4 from Jonathan Druart --- I have pushed a branch at https://gitlab.com/joubu/Koha/-/commits/cypress-studio The git log is a bit dirty but at least shows how I reached the current state. Note that this first try (POC) a

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #3 from Jonathan Druart --- Also note that "3. Run the tests" will fail if no language is installed. -- You are receiving this mail because: You are watching all bug changes.

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-07-12 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #2 from Jonathan Druart --- Note that I just retried and was getting an error: Your configFile is invalid: /e2e/cypress.config.ts It threw an error when required, check the stack trace below: TypeError [ERR_UNKNOWN_FIL

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-06-30 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Jonathan Druart changed: What|Removed |Added CC||aude.charillon@ptfs-europe

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-06-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Jonathan Druart changed: What|Removed |Added Status|ASSIGNED|In Discussion -- You are

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-06-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 --- Comment #1 from Jonathan Druart --- I have pushed a branch at https://gitlab.com/joubu/Koha/-/commits/cypress-studio The git log is a bit dirty but at least shows how I reached the current state. Note that this first try (POC) a

[Koha-bugs] [Bug 34076] [ALTERNATE] [DOCS] Automated screenshots using Cypress.io testing framework

2023-06-21 Thread bugzilla-daemon
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34076 Jonathan Druart changed: What|Removed |Added See Also||https://bugs.koha-communit