I was able to compile and cross compile the gnu and musl variants to all of our target triples :)
-
Install the cargo-zigbuild and dependencies (requires python3)
pip3 install ziglang cargo install cargo-zigbuild
| let webdriverio; | |
| const requireg = require('requireg'); | |
| const Helper = require('../helper'); | |
| const stringIncludes = require('../assert/include').includes; | |
| const { urlEquals, equals } = require('../assert/equal'); | |
| const empty = require('../assert/empty').empty; | |
| const truth = require('../assert/truth').truth; | |
| const { | |
| xpathLocator, fileExists, clearString, decodeUrl, chunkArray, | |
| } = require('../utils'); |
| Function Install-SeleniumService { | |
| [cmdletBinding()] | |
| Param( | |
| [string] $Name = "SeleniumServer", | |
| [string] $InstallPath = "C:\selenium" | |
| ) | |
| $JavaPath = Get-Command "java.exe" | Select-Object -Last 1 -ExpandProperty Definition | |
| if (!(Test-Path $InstallPath)) { |
| Feature('Page Object Examples'); | |
| Scenario('Call page object function', async (I, testPageObj) => { | |
| I.amOnPage('/'); | |
| const res = await testPageObj.getSomething(); | |
| console.log('page object result', res); | |
| }); |
| 'use strict'; | |
| const assert = require('assert'); | |
| const axios = require('axios'); | |
| let Helper = codecept_helper; | |
| class MyHelper extends Helper { | |
| async runMyAssert(expect) { | |
| assert.equal(true, false); |
| const outputFolder = './output'; | |
| exports.config = { | |
| output: outputFolder, | |
| helpers: { | |
| Puppeteer: { | |
| url: 'http://google.com', | |
| show: true, | |
| chrome: {} | |
| }, |
| const Step = require('./step'); | |
| const container = require('./container'); | |
| const methodsOfObject = require('./utils').methodsOfObject; | |
| const recorder = require('./recorder'); | |
| const event = require('./event'); | |
| const output = require('./output'); | |
| /** | |
| * Fetches all methods from all enabled helpers, | |
| * and makes them available to use from I. object |
| <# | |
| .SYNOPSIS | |
| Provides argument completions for dynamic data by querying Cumulocity for the values | |
| #> | |
| $RoleCompleter = { | |
| param ($commandName, $parameterName, $wordToComplete) | |
| if ($wordToComplete -is [array]) { | |
| $searchFor = $wordToComplete | Select-Object -Last 1 | |
| } else { | |
| $searchFor = $wordToComplete |
| #!/bin/bash | |
| # ------------------------------------------------------------------------------------------------------- | |
| # Pre-requisites | |
| # This should be manually installed by the user (though it might be automatically installed by brew?) | |
| # xcode-select --install | |
| # ------------------------------------------------------------------------------------------------------- | |
| # Options | |
| HOMEBREW_NO_SUDO=true | |
| HOMEBREW_INSTALL_PATH= |
| #!/bin/bash | |
| ################################################################################################## | |
| # Install and bootstrap thin-edge.io to enable AWS communication | |
| # A custom tedge and tedge-mapper version is used as the AWS functionality has not been | |
| # merged into the main branch. | |
| # | |
| # Usage: | |
| # sudo ./tedge-aws-bootstrap.sh | |
| # | |
| # Checkout the following links for more guidance on how to setup AWS and connect thin-edge.io to it |