Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !383

erp5 saucelab test and activity tools

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Xiaowu Zhang requested to merge xiaowu.zhang/slapos:tn into master Aug 28, 2018
  • Overview 28
  • Commits 8
  • Pipelines 0
  • Changes 6

This is a simple, quick way to run zelenium test with saucelabs which is not a correct and clean way

but at least it works and we need test result for different browser and platforme, especially IOS

until a right solution found, we'll use it to run test

the idea is:

  1. a frontend X is manually configured to the erp5 instance which is created when run test suite

  2. in test suite's Slapos Parameters, we put, for example

{
  "mariadb": {
    "relaxed-writes": true,
    "mariadb-relaxed-writes": true,
    "test-database-amount": 0
  },
  "bt5": "erp5_full_text_mroonga_catalog erp5_web_renderjs_ui_test",
    "saucelabs-dict": {
      "target": "iOS",
      "target-version": "11.3",
      "target-device": "iPhone Simulator",
      "target-browser": "Safari",
      "appium-server-auth": "xxxxxxxxxx",
      "remote-access-url": "X",
     "run-only": "renderjs_ui_multi_list_field_zuite"
    }
}

a delecated runTestSuite is created when saucelabs-dicts parameter is present

this runTestSuite will use frontend X to run zelenium test on it.

here is the thing we should pay attention:

in nexedi saucelabs account, there has only 2 sessions at the same time (1000 minutes of automatic test per month Unlimited automated testing minutes)

so to fix the 'only 2 session' issue,

in test suite, we should use Browser Distributor with only one test node, like jio test suite, so in this way, there has only one test run at anytime

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: tn
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7