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

[O2B-844] Filter according to B field in runs #1803

Open
wants to merge 16 commits into
base: main
Choose a base branch
from

Conversation

Jaden505
Copy link
Collaborator

@Jaden505 Jaden505 commented Nov 29, 2024

I have a JIRA ticket

  • branch and/or PR name(s) include(s) JIRA ID
  • issue has "Fix version" assigned
  • issue "Status" is set to "In review"
  • PR labels are selected

Notable changes for users:
-tag colours will now update when looking at run details

Notable changes for developers:

Changes made to the database:

@Jaden505 Jaden505 added frontend javascript Pull requests that update Javascript code labels Nov 29, 2024
Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 43.58%. Comparing base (4e9f479) to head (ba5d13c).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1803      +/-   ##
==========================================
- Coverage   43.77%   43.58%   -0.19%     
==========================================
  Files         893      893              
  Lines       15959    15954       -5     
  Branches     3005     3003       -2     
==========================================
- Hits         6986     6954      -32     
- Misses       8973     9000      +27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@graduta graduta assigned Jaden505 and unassigned graduta and martinboulais Dec 1, 2024
@Jaden505 Jaden505 changed the title show [O2B-844] Filter according to B field in runs Dec 2, 2024
@@ -596,6 +596,21 @@ module.exports = () => {
expect(runDurationList.every((runDuration) => runDuration === 'UNKNOWN')).to.be.true;
});

it('should successfully apply alice currents filters', async () => {
await goToPage(page, 'run-overview');
Copy link
Collaborator

Choose a reason for hiding this comment

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

You should avoid as much as possible to use goToPage, at some point it make pupeteer crash (I was not able to figure out why). Please try to pressElement on the runs overview link at the top of the page for example.

@@ -306,7 +306,7 @@ module.exports = () => {
it('should successfully filter on detectors', async () => {
// Open filter toggle
await pressElement(page, '#openFilterToggle');
await page.waitForSelector('.detectors-filter .dropdown-trigger');
await page.waitForSelector('.detectors-filter .dropdown-trigger', { visible: true });
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why this change? Same for all the {visible: true}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend javascript Pull requests that update Javascript code
Development

Successfully merging this pull request may close these issues.

3 participants