API Karate tests implementation - Tech Debt (FAT-892)

[FAT-965] Folio integration tests for mod-quick-marc fails Created: 14/Apr/21  Updated: 18/Jul/22

Status: In Review
Project: Folio Automation Testing
Components: None
Affects versions: None
Fix versions: None
Parent: API Karate tests implementation - Tech Debt

Type: Bug Priority: P2
Reporter: Aliaksei Harbuz Assignee: Aliaksei Harbuz
Resolution: Unresolved Votes: 0
Labels: integration, reviewed, tests
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original estimate: Not Specified

Attachments: PNG File Screenshot from 2022-01-27 14-45-54.png     PNG File Screenshot from 2022-01-27 14-47-00.png     PNG File success_tests_locally.PNG     PNG File testing_data_could_not_be_initialized.PNG    
Issue links:
Cloners
is cloned by FOLIO-3207 Folio integration tests for mod-quick... Closed
Duplicate
is duplicated by FAT-928 API integration tests for mod-quick-m... Closed
Gantt End to Start
has to be done after RANCHER-12 Investigate approach to spin up envir... Closed
Relates
relates to FAT-963 Integration tests for data-import pas... Closed
relates to FAT-4 Start covering new functionality with... Closed
relates to FAT-928 API integration tests for mod-quick-m... Closed
relates to FAT-1619 Cover quick marc case from Kiwi Bug Fest Closed
Sprint: DevOps Sprint 130, DevOps Sprint 131, Kitfox: sprint 133, Kitfox: sprint 136, Kitfox: sprint 137, Kitfox: sprint 135, DevOps Sprint 122, DevOps Sprint 123, DevOps Sprint 124, DevOps Sprint 125, DevOps Sprint 126, DevOps Sprint 127, DevOps Sprint 128, DevOps Sprint 129, Kitfox: sprint 132
Story Points: 3
Development Team: Kitfox
Epic Link: API Karate tests implementation - Tech Debt

 Description   

Overview:
Folio integration tests for mod-quick-marc are not able to run via Jenkins job :
https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-api-tests-karate/179/

 Folio integration tests are successfully running from local machine via command :

mvn clean test -Dtest=QuickMarcApiTest -pl quick-marc -DargLine="-Dkarate.env=testing"

The testing environment is : https://folio-testing-okapi.dev.folio.org:443.

But while running the tests via Jenkins job issues related testing data initializations is observed.

As a result tests for mod-quick-marc fails.

 



 Comments   
Comment by Oleksii Petrenko [ 16/Apr/21 ]

Moved priority to P1 as soon as all Integration tested are not executed

CC: Former user Jakub Skoczen

Comment by Jakub Skoczen [ 31/Aug/21 ]

Drif Abdenour What's the status of this ticket?

Comment by Maryia Lazavik [ 24/Jan/22 ]

Pipeline for running karate tests is not working due to an error connecting to folio-snapshot.dev.folio.org
Jira tiket was blocked https://folio-org.atlassian.net/browse/FOLIO-3398

Putting  FAT-965 In Review  on hold

Comment by Maryia Lazavik [ 28/Jan/22 ]

as per current cucumber report https://jenkins-aws.indexdata.com/job/FOLIO_Reference_Builds/job/folio-api-tests-karate/723/cucumber-html-reports/overview-features.html module to mod-quick-marc has issue 

         

from the description of the  debug in the pipeline output can see externaldsHolder >0 (this parameter is empty)

as the team explained, parameters and data from the data import module should be passed to "externaldsHolder" 

 

 

create a ticket to data-import folijet-support https://folio-org.atlassian.net/browse/MODDATAIMP-629

Comment by Vitaly Demchenko [ 17/Mar/22 ]

Due to alternative pipeline delay we will integrate try to integrate existing ansible roles used for snapshot creation for karate pipeline.

Comment by Khalilah Gambrell [ 18/Apr/22 ]

Hey Vitaly Demchenko and Eugeny Davydov - this issue has existed for quite sometime. Is there any issues blocking this issue? 

Comment by Vitaly Demchenko [ 07/Jun/22 ]

Please recheck after moving karate tests execution to unified pipeline:

https://jenkins-aws.indexdata.com/job/Testing/job/Scheduled%20Karate%20Tests/267/cucumber-html-reports/overview-features.html

Comment by Oleksii Petrenko [ 18/Jul/22 ]

Aliaksei Harbuz Is it still actual or can be closed?

Generated at Thu Feb 08 23:25:44 UTC 2024 using Jira 1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d.