Skip to content

Commit

Permalink
some qol changes
Browse files Browse the repository at this point in the history
added a bunch more command preprocessors (variable handling)
made everything 4.0.10 so incrementing versions can just be dumb
i mean gosh maintaining versions manually is so painful
changed some side tests to use a bunch more variables
  • Loading branch information
toddtarsi committed Jun 20, 2024
1 parent 02ae644 commit 6dbb969
Show file tree
Hide file tree
Showing 24 changed files with 249 additions and 164 deletions.
2 changes: 1 addition & 1 deletion packages/browser-info/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/browser-info",
"version": "4.0.1",
"version": "4.0.10",
"private": false,
"description": "Get information about installed browsers",
"author": "Tomer <[email protected]>",
Expand Down
6 changes: 3 additions & 3 deletions packages/code-export-csharp-commons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/code-export-csharp-commons",
"version": "4.0.4",
"version": "4.0.10",
"private": false,
"description": "Commons for exporting Selenium IDE project contents to C#",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -18,9 +18,9 @@
"watch": "tsc --watch"
},
"dependencies": {
"side-code-export": "^4.0.5"
"side-code-export": "^4.0.10"
},
"devDependencies": {
"@seleniumhq/side-model": "^4.0.2"
"@seleniumhq/side-model": "4.0.10"
}
}
6 changes: 3 additions & 3 deletions packages/code-export-csharp-nunit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/code-export-csharp-nunit",
"version": "4.0.4",
"version": "4.0.10",
"private": false,
"description": "Export Selenium IDE project contents to C# NUnit",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -18,8 +18,8 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@seleniumhq/code-export-csharp-commons": "^4.0.1",
"side-code-export": "^4.0.5"
"@seleniumhq/code-export-csharp-commons": "4.0.10",
"side-code-export": "^4.0.10"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
8 changes: 4 additions & 4 deletions packages/code-export-csharp-xunit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/code-export-csharp-xunit",
"version": "4.0.4",
"version": "4.0.10",
"private": false,
"description": "Export Selenium IDE project contents to C# XUnit",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -18,11 +18,11 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@seleniumhq/code-export-csharp-commons": "^4.0.1",
"side-code-export": "^4.0.5"
"@seleniumhq/code-export-csharp-commons": "4.0.10",
"side-code-export": "^4.0.10"
},
"devDependencies": {
"@seleniumhq/side-model": "^4.0.2"
"@seleniumhq/side-model": "4.0.10"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
6 changes: 3 additions & 3 deletions packages/code-export-java-junit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/code-export-java-junit",
"version": "4.0.4",
"version": "4.0.10",
"private": false,
"description": "Export Selenium IDE project contents to Java JUnit",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -17,10 +17,10 @@
},
"main": "dist/index.js",
"dependencies": {
"side-code-export": "^4.0.5"
"side-code-export": "^4.0.10"
},
"devDependencies": {
"@seleniumhq/side-model": "^4.0.2"
"@seleniumhq/side-model": "4.0.10"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
6 changes: 3 additions & 3 deletions packages/code-export-javascript-mocha/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/code-export-javascript-mocha",
"version": "4.0.4",
"version": "4.0.10",
"private": false,
"description": "Export Selenium IDE project contents to JavaScript Mocha",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -17,10 +17,10 @@
},
"main": "dist/index.js",
"dependencies": {
"side-code-export": "^4.0.5"
"side-code-export": "^4.0.10"
},
"devDependencies": {
"@seleniumhq/side-model": "^4.0.2"
"@seleniumhq/side-model": "4.0.10"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
6 changes: 3 additions & 3 deletions packages/code-export-python-pytest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/code-export-python-pytest",
"version": "4.0.4",
"version": "4.0.10",
"private": false,
"description": "Export Selenium IDE project contents to Python pytest",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -17,10 +17,10 @@
},
"main": "dist/index.js",
"dependencies": {
"side-code-export": "^4.0.5"
"side-code-export": "^4.0.10"
},
"devDependencies": {
"@seleniumhq/side-model": "^4.0.2"
"@seleniumhq/side-model": "4.0.10"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
6 changes: 3 additions & 3 deletions packages/code-export-ruby-rspec/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/code-export-ruby-rspec",
"version": "4.0.4",
"version": "4.0.10",
"private": false,
"description": "Export Selenium IDE project contents to Ruby RSpec",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -17,10 +17,10 @@
},
"main": "dist/index.js",
"dependencies": {
"side-code-export": "^4.0.5"
"side-code-export": "^4.0.10"
},
"devDependencies": {
"@seleniumhq/side-model": "^4.0.2"
"@seleniumhq/side-model": "4.0.10"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
2 changes: 1 addition & 1 deletion packages/get-driver/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/get-driver",
"version": "4.0.2",
"version": "4.0.10",
"private": false,
"description": "Download browser drivers",
"author": "Tomer <[email protected]>",
Expand Down
26 changes: 13 additions & 13 deletions packages/selenium-ide/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,17 @@
"@fontsource/roboto": "^5.0.8",
"@mui/icons-material": "^5.15.13",
"@mui/material": "^5.15.13",
"@seleniumhq/code-export-csharp-nunit": "^4.0.4",
"@seleniumhq/code-export-csharp-xunit": "^4.0.4",
"@seleniumhq/code-export-java-junit": "^4.0.4",
"@seleniumhq/code-export-javascript-mocha": "^4.0.4",
"@seleniumhq/code-export-python-pytest": "^4.0.4",
"@seleniumhq/code-export-ruby-rspec": "^4.0.4",
"@seleniumhq/get-driver": "^4.0.2",
"@seleniumhq/side-api": "^4.0.8",
"@seleniumhq/side-commons": "^4.0.1",
"@seleniumhq/side-model": "^4.0.2",
"@seleniumhq/side-runtime": "^4.0.7",
"@seleniumhq/code-export-csharp-nunit": "4.0.10",
"@seleniumhq/code-export-csharp-xunit": "4.0.10",
"@seleniumhq/code-export-java-junit": "4.0.10",
"@seleniumhq/code-export-javascript-mocha": "4.0.10",
"@seleniumhq/code-export-python-pytest": "4.0.10",
"@seleniumhq/code-export-ruby-rspec": "4.0.10",
"@seleniumhq/get-driver": "4.0.10",
"@seleniumhq/side-api": "4.0.10",
"@seleniumhq/side-commons": "4.0.10",
"@seleniumhq/side-model": "4.0.10",
"@seleniumhq/side-runtime": "4.0.10",
"dnd-core": "^16.0.1",
"electron-chromedriver": "^28.0.0",
"electron-log": "^5.1.0",
Expand All @@ -145,12 +145,12 @@
"react-resizable-panels": "^1.0.8",
"scroll-into-view-if-needed": "^3.0.10",
"selenium-webdriver": "^4.20.0",
"side-code-export": "^4.0.5",
"side-code-export": "^4.0.10",
"v8-compile-cache": "^2.3.0"
},
"devDependencies": {
"@medv/finder": "^1.1.1",
"@seleniumhq/browser-info": "^4.0.1",
"@seleniumhq/browser-info": "4.0.10",
"@types/copy-webpack-plugin": "8.0.1",
"@types/electron-devtools-installer": "^2.2.5",
"@types/fs-extra": "^11.0.1",
Expand Down
10 changes: 5 additions & 5 deletions packages/side-api/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/side-api",
"version": "4.0.8",
"version": "4.0.10",
"private": false,
"description": "Selenium IDE API command shapes and such.",
"author": "Todd Tarsi <[email protected]>",
Expand All @@ -20,10 +20,10 @@
"dist"
],
"dependencies": {
"@seleniumhq/browser-info": "^4.0.1",
"@seleniumhq/get-driver": "^4.0.2",
"@seleniumhq/side-model": "^4.0.2",
"@seleniumhq/side-runtime": "^4.0.7",
"@seleniumhq/browser-info": "4.0.10",
"@seleniumhq/get-driver": "4.0.10",
"@seleniumhq/side-model": "4.0.10",
"@seleniumhq/side-runtime": "4.0.10",
"lodash": "^4.17.21"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/side-code-export/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "side-code-export",
"version": "4.0.5",
"version": "4.0.10",
"description": "Utils for code export from Selenium IDE",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
"keywords": [
Expand All @@ -20,8 +20,8 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@seleniumhq/side-model": "^4.0.2",
"@seleniumhq/side-runtime": "^4.0.7",
"@seleniumhq/side-model": "4.0.10",
"@seleniumhq/side-runtime": "4.0.10",
"commander": "^9.4.0"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
Expand Down
2 changes: 1 addition & 1 deletion packages/side-commons/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/side-commons",
"version": "4.0.1",
"version": "4.0.10",
"private": false,
"description": "Selenium IDE common utilities",
"author": "Tomer <[email protected]>",
Expand Down
8 changes: 4 additions & 4 deletions packages/side-example-suite/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/side-example-suite",
"version": "4.0.5",
"version": "4.0.10",
"private": true,
"description": "Selenium IDE example suite, with tests, plugin, and export format",
"author": "Todd <[email protected]>",
Expand All @@ -17,11 +17,11 @@
"watch": "tsc --watch"
},
"dependencies": {
"side-code-export": "^4.0.5",
"@seleniumhq/code-export-python-pytest": "^4.0.1"
"side-code-export": "^4.0.10",
"@seleniumhq/code-export-python-pytest": "4.0.10"
},
"devDependencies": {
"@seleniumhq/side-api": "^4.0.8"
"@seleniumhq/side-api": "4.0.10"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/side-migrate/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/side-migrate",
"version": "4.0.0-alpha.3",
"version": "4.0.10",
"private": false,
"description": "Selenium IDE format migrations",
"author": "Tomer <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion packages/side-model/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/side-model",
"version": "4.0.2",
"version": "4.0.10",
"private": false,
"description": "Selenium IDE shared models",
"author": "Tomer <[email protected]>",
Expand Down
6 changes: 3 additions & 3 deletions packages/side-runner/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "selenium-side-runner",
"version": "4.0.8",
"version": "4.0.10",
"private": false,
"description": "Run Selenium IDE projects in cli",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -23,8 +23,8 @@
],
"license": "Apache-2.0",
"dependencies": {
"@seleniumhq/side-model": "^4.0.2",
"@seleniumhq/side-runtime": "^4.0.7",
"@seleniumhq/side-model": "4.0.10",
"@seleniumhq/side-runtime": "4.0.10",
"commander": "^11.0.0",
"glob": "^10.3.1",
"jest": "^29.6.0",
Expand Down
12 changes: 6 additions & 6 deletions packages/side-runtime/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@seleniumhq/side-runtime",
"version": "4.0.7",
"version": "4.0.10",
"private": false,
"description": "Selenium IDE playback and execution",
"author": "Tomer <[email protected]>",
Expand All @@ -25,13 +25,13 @@
"url": "https://github.com/SeleniumHQ/selenium-ide/issues"
},
"devDependencies": {
"@seleniumhq/get-driver": "^4.0.2",
"@seleniumhq/side-testkit": "^4.0.1",
"@seleniumhq/webdriver-testkit": "^4.0.2"
"@seleniumhq/get-driver": "4.0.10",
"@seleniumhq/side-testkit": "4.0.10",
"@seleniumhq/webdriver-testkit": "4.0.10"
},
"dependencies": {
"@seleniumhq/side-commons": "^4.0.1",
"@seleniumhq/side-model": "^4.0.2",
"@seleniumhq/side-commons": "4.0.10",
"@seleniumhq/side-model": "4.0.10",
"@types/selenium-webdriver": "^4.1.22",
"selenium-webdriver": "^4.20.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/side-runtime/src/preprocessors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const nbsp = String.fromCharCode(160)
// have this in scope as well as grant the preprocessor access to the variables
export function composePreprocessors(...args: any[]) {
const func = args[args.length - 1]
const params = args.slice(0, args.length - 1)
const params = args.slice(0, -1)
if (params.length === 0) {
return func
} else if (params.length === 1) {
Expand Down
Loading

0 comments on commit 6dbb969

Please sign in to comment.