Skip to content

Conversation

@Bubballoo3
Copy link
Contributor

Contributes to #375, and relies upon the changes in #4576 and #4578. The first test exhaustively checks the row structure and extended info, allowing us to skip these checks in later tests, just confirming which jobs are shown using number of rows and assert_text. The main areas this test covers are

  1. Showing all the info and extended details of jobs
  2. Toggling between your jobs and all jobs
  3. Pagination functionality, including results-per-page
  4. Text filter functionality

@github-project-automation github-project-automation bot moved this to Awaiting Review in PR Review Pipeline Sep 9, 2025
@Bubballoo3 Bubballoo3 changed the title System test activejobs 375 System tests for ActiveJobs Sep 9, 2025
@Bubballoo3 Bubballoo3 moved this from Awaiting Review to On Hold in PR Review Pipeline Sep 9, 2025
@johrstrom
Copy link
Contributor

This is a comment acknowledging this PR.

@johrstrom johrstrom closed this Oct 7, 2025
@johrstrom johrstrom reopened this Oct 7, 2025
@github-project-automation github-project-automation bot moved this from On Hold to Merged/Closed in PR Review Pipeline Oct 7, 2025
@github-project-automation github-project-automation bot moved this from Merged/Closed to Awaiting Review in PR Review Pipeline Oct 7, 2025
require 'ood_core/job/adapters/slurm'

class ActiveJobsTest < ApplicationSystemTestCase
JavascriptWaitTime = 5
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use SNAKE_CASE_UPPER style for constants that aren't classes.

Copy link
Contributor Author

@Bubballoo3 Bubballoo3 Oct 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️That was a remnant from before I discovered assert_selector to wait for js action. It is unused and I will just remove it, but that is good to know going forward.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK I think that applies to variables as well. You also have DetailHeaders which should likely be detail_headers, MainbodySelect which is main_body_select and so on.

Copy link
Contributor Author

@Bubballoo3 Bubballoo3 Oct 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why wouldn't those be snake case upper as well? They are class constants like JavascriptWaitTime was.

Also I accidentally went ahead and converted them all to snake case upper, having not read your last comment carefully enough. Happy to change them to lower snake case though if that is what we want.

@johrstrom johrstrom merged commit 7c7f867 into master Oct 9, 2025
60 of 62 checks passed
@johrstrom johrstrom deleted the system-test-activejobs-375 branch October 9, 2025 17:27
@github-project-automation github-project-automation bot moved this from Awaiting Review to Merged/Closed in PR Review Pipeline Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants