Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
slapos slapos
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Labels
    • Labels
  • Merge requests 122
    • Merge requests 122
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Environments
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedi
  • slaposslapos
  • Merge requests
  • !383

Merged
Created Aug 28, 2018 by Xiaowu Zhang@xiaowu.zhangDeveloper

erp5 saucelab test and activity tools

  • Overview 28
  • Commits 8
  • 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
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Source branch: tn
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7