Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
W wendelin
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedi
  • wendelin
  • Merge requests
  • !162

Merged
Created Apr 08, 2024 by Paul Graydon@paul.graydonDeveloper

Extend Wendelin tutorial notebook script tests

  • Overview 3
  • Commits 1
  • Pipelines 1
  • Changes 2

Following the discussion at 111919f5, this change extends the Selenium tests in bt5/erp5_wendelin_tutorial_ui_test by testing that the graphs produced by the notebook scripts contain the correct data.

Since the data points themselves are drawn in a canvas, which is difficult to test in Selenium, we instead test for the presence of correct graph axis labels: since the data used comes from a fixed sample set and the scripts autoscale the axes, we can reasonably assume that the data is correctly plotted if the labels match.

While this isn't perfect, this does effectively break if the data points do not appear.

Edited Apr 08, 2024 by Paul Graydon
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: tutorial_ui_test_fix
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7