Ci - #9
Merged
Merged
Conversation
added 23 commits
June 3, 2026 19:08
test_con_005_sector_download was matching the chart-image link (/api/download/chart/, currently 500) instead of the dataset file (/api/download/resource/, 200). Scope DOWNLOAD_LINK to the resource endpoint so the test validates dataset download as intended.
UC_DATASET_FIRST_CARD was scoped to a 'datasets_List' CSS-module container that no longer exists in the DOM, so the dataset card was never found and test_con_007 silently skipped. Match dataset links under <main> instead, and scope DOWNLOAD_LINK to /download/resource/ (not the failing /download/chart/ image endpoint).
…nt JS date setter Tags/SDG getter confusion (007, 010): SELECTED_TAGS and SELECTED_SDG_GOALS used an identical unanchored XPath that matched all chips on the page. DOM order differs between macOS (local) and Ubuntu (CI), causing the wrong combobox's chips to be returned. Fixed by anchoring each locator to its own label using the same following::div[1] pattern that SELECTED_GEOGRAPHY already uses correctly. Date locale mismatch (011, 010): send_keys interprets keystrokes per OS date locale — DD/MM/YYYY on macOS, MM/DD/YYYY on Ubuntu — so '01062023' gave June 1 locally but January 6 in CI. Replaced send_keys with a locale-independent JS native-setter approach (enter_date helper in base_page). All date callers updated to pass ISO YYYY-MM-DD strings.
…er smoke with -n 2
…es_card with URL-based wait + retry
…004 to test actual chart creation
…known backend bugs
…n API tests - Use Optional[str] instead of str | None (Python 3.9 compat) - Replace specific env example values with generic placeholders in comments - Fix $tags variable type to [String!] to match backend schema - Fix TypeDatasetMutationResponse field access (success/data pattern) - Fix union return types with inline fragments (publishDataset, updateDataset) - Fix deleteDataset scalar return — no selection set
- Add regression marker to pytest.ini for contract/auth-enforcement tests - Reclassify provider flow tests (create dataset/usecase/charts/profile/collaborative) from smoke → functional - Reclassify API tests: error-handling and auth-enforcement tests → regression; complex flow tests → functional - Add missing @pytest.mark.smoke decorators to consumer component tests - Reclassify consumer download/sector/usecase flow tests from smoke → functional
- Fix DATA_DATASET_CARD / PROMPT_DATASET_CARD locators: cards are <button> elements, not divs - Fix prompt field locators to use label-based XPath (same pattern as Sectors/Tags) - Add scroll-before-interact for prompt metadata fields (section is below the fold) - Add click_add_new_prompt_dataset() to MyDashboardPage and OrganizationsPage - Add prompt file upload support (go_to_prompt_files_tab, upload_prompt_file) - Add test_prv_002b_ind_create_prompt_dataset (My Dashboard end-to-end) - Add test_prv_006b_org_create_prompt_dataset (Org Dashboard end-to-end)
…lures - Update all three jobs in run-smoke.yml to run -m "smoke or functional" - Bump provider-smoke timeout to 60min to cover full functional suite - Fix goto_my_dashboard and goto_organizations: wait for Loading spinner to clear and use 30s timeout (was 15s) - Add @pytest.mark.timeout(360) to collaborative tests (010, 011)
gw0 uses TEST_EMAIL_1/TEST_PASSWORD_1, gw1 uses TEST_EMAIL_2/TEST_PASSWORD_2. Eliminates Keycloak session contention when running with -n 2. Falls back to TEST_USER_INDEX (or user 1) for non-parallel runs.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.