Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[project-base] fix tests for product searching #2524

Merged
merged 1 commit into from Jan 30, 2023
Merged

Conversation

vitek-rostislav
Copy link
Contributor

@vitek-rostislav vitek-rostislav commented Dec 22, 2022

Q A
Description, reason for the PR The test was not run when running tests phing target because of the missing suffix
New feature No
BC breaks No
Fixes issues ...
Have you read and signed our License Agreement for contributions? Yes

Btw, when fixing the tests on my project that is based on the commerce cloud version, I had to fix a few more issues - testSearchInAllProducts is trying to search the phrase "book" but nothing is found (the first domain has Czech locale). After changing the test search phrase to "kniha", expected products were found indeed, however, their ordering was different.

@sonarcloud
Copy link

sonarcloud bot commented Dec 22, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

- the file is renamed to include "Test" suffix so the test is run
- the category persistent references are fetched globally instead of from domain
@TomasLudvik TomasLudvik enabled auto-merge (squash) January 30, 2023 10:57
@TomasLudvik TomasLudvik added the DX & Refactoring Requests for DX improvements and refactorings label Jan 30, 2023
@TomasLudvik TomasLudvik added this to the SSFW 11.0.0 milestone Jan 30, 2023
@sonarcloud
Copy link

sonarcloud bot commented Jan 30, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@TomasLudvik TomasLudvik merged commit e28768d into master Jan 30, 2023
@TomasLudvik TomasLudvik deleted the rv-fix-test branch January 30, 2023 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DX & Refactoring Requests for DX improvements and refactorings In Backlog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants