Skip to content

Commit

Permalink
minor fix, nothing to type for empty strings
Browse files Browse the repository at this point in the history
  • Loading branch information
toddtarsi committed Nov 22, 2024
1 parent be5b3e6 commit 5d595cd
Show file tree
Hide file tree
Showing 42 changed files with 418 additions and 118 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.12",
"version": "4.0.13",
"private": false,
"description": "Get information about installed browsers",
"author": "Tomer <tomer@corevo.io>",
Expand Down
4 changes: 2 additions & 2 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.12",
"version": "4.0.13",
"private": false,
"description": "Commons for exporting Selenium IDE project contents to C#",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -21,6 +21,6 @@
"side-code-export": "^4.0.11"
},
"devDependencies": {
"@seleniumhq/side-model": "4.0.12"
"@seleniumhq/side-model": "4.0.13"
}
}
4 changes: 2 additions & 2 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.12",
"version": "4.0.13",
"private": false,
"description": "Export Selenium IDE project contents to C# NUnit",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -18,7 +18,7 @@
"main": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@seleniumhq/code-export-csharp-commons": "4.0.12",
"@seleniumhq/code-export-csharp-commons": "4.0.13",
"side-code-export": "^4.0.11"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
Expand Down
6 changes: 3 additions & 3 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.12",
"version": "4.0.13",
"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.12",
"@seleniumhq/code-export-csharp-commons": "4.0.13",
"side-code-export": "^4.0.11"
},
"devDependencies": {
"@seleniumhq/side-model": "4.0.12"
"@seleniumhq/side-model": "4.0.13"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
4 changes: 2 additions & 2 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.12",
"version": "4.0.13",
"private": false,
"description": "Export Selenium IDE project contents to Java JUnit",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -20,7 +20,7 @@
"side-code-export": "^4.0.11"
},
"devDependencies": {
"@seleniumhq/side-model": "4.0.12"
"@seleniumhq/side-model": "4.0.13"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
4 changes: 2 additions & 2 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.12",
"version": "4.0.13",
"private": false,
"description": "Export Selenium IDE project contents to JavaScript Mocha",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -20,7 +20,7 @@
"side-code-export": "^4.0.11"
},
"devDependencies": {
"@seleniumhq/side-model": "4.0.12"
"@seleniumhq/side-model": "4.0.13"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
4 changes: 2 additions & 2 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.12",
"version": "4.0.13",
"private": false,
"description": "Export Selenium IDE project contents to Python pytest",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -20,7 +20,7 @@
"side-code-export": "^4.0.11"
},
"devDependencies": {
"@seleniumhq/side-model": "4.0.12"
"@seleniumhq/side-model": "4.0.13"
},
"gitHead": "f58e327e7616e23a3e926e4b80cf9952164e5744"
}
4 changes: 2 additions & 2 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.12",
"version": "4.0.13",
"private": false,
"description": "Export Selenium IDE project contents to Ruby RSpec",
"repository": "https://github.com/SeleniumHQ/selenium-ide",
Expand All @@ -20,7 +20,7 @@
"side-code-export": "^4.0.11"
},
"devDependencies": {
"@seleniumhq/side-model": "4.0.12"
"@seleniumhq/side-model": "4.0.13"
},
"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.12",
"version": "4.0.13",
"private": false,
"description": "Download browser drivers",
"author": "Tomer <tomer@corevo.io>",
Expand Down
28 changes: 14 additions & 14 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.12",
"@seleniumhq/code-export-csharp-xunit": "4.0.12",
"@seleniumhq/code-export-java-junit": "4.0.12",
"@seleniumhq/code-export-javascript-mocha": "4.0.12",
"@seleniumhq/code-export-python-pytest": "4.0.12",
"@seleniumhq/code-export-ruby-rspec": "4.0.12",
"@seleniumhq/get-driver": "4.0.12",
"@seleniumhq/side-api": "4.0.12",
"@seleniumhq/side-commons": "4.0.12",
"@seleniumhq/side-model": "4.0.12",
"@seleniumhq/side-runtime": "4.0.12",
"@seleniumhq/code-export-csharp-nunit": "4.0.13",
"@seleniumhq/code-export-csharp-xunit": "4.0.13",
"@seleniumhq/code-export-java-junit": "4.0.13",
"@seleniumhq/code-export-javascript-mocha": "4.0.13",
"@seleniumhq/code-export-python-pytest": "4.0.13",
"@seleniumhq/code-export-ruby-rspec": "4.0.13",
"@seleniumhq/get-driver": "4.0.13",
"@seleniumhq/side-api": "4.0.13",
"@seleniumhq/side-commons": "4.0.13",
"@seleniumhq/side-model": "4.0.13",
"@seleniumhq/side-runtime": "4.0.13",
"dnd-core": "^16.0.1",
"electron-chromedriver": "^28.0.0",
"electron-log": "^5.1.0",
Expand All @@ -144,20 +144,20 @@
"react-intl": "^6.6.5",
"react-resizable-panels": "^1.0.8",
"scroll-into-view-if-needed": "^3.0.10",
"selenium-webdriver": "^4.20.0",
"selenium-webdriver": "^4.25.0",
"side-code-export": "^4.0.11",
"v8-compile-cache": "^2.3.0"
},
"devDependencies": {
"@medv/finder": "^1.1.1",
"@seleniumhq/browser-info": "4.0.12",
"@seleniumhq/browser-info": "4.0.13",
"@types/copy-webpack-plugin": "8.0.1",
"@types/electron-devtools-installer": "^2.2.5",
"@types/fs-extra": "^11.0.1",
"@types/lodash": "^4.14.199",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/selenium-webdriver": "^4.1.22",
"@types/selenium-webdriver": "^4.1.26",
"@types/webpack-env": "^1.16.0",
"copy-webpack-plugin": "^10.2.4",
"css-loader": "^6.8.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.12",
"version": "4.0.13",
"private": false,
"description": "Selenium IDE API command shapes and such.",
"author": "Todd Tarsi <tarsitodd@gmail.com>",
Expand All @@ -20,10 +20,10 @@
"dist"
],
"dependencies": {
"@seleniumhq/browser-info": "4.0.12",
"@seleniumhq/get-driver": "4.0.12",
"@seleniumhq/side-model": "4.0.12",
"@seleniumhq/side-runtime": "4.0.12",
"@seleniumhq/browser-info": "4.0.13",
"@seleniumhq/get-driver": "4.0.13",
"@seleniumhq/side-model": "4.0.13",
"@seleniumhq/side-runtime": "4.0.13",
"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.12",
"version": "4.0.13",
"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.12",
"@seleniumhq/side-runtime": "4.0.12",
"@seleniumhq/side-model": "4.0.13",
"@seleniumhq/side-runtime": "4.0.13",
"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.12",
"version": "4.0.13",
"private": false,
"description": "Selenium IDE common utilities",
"author": "Tomer <tomer@corevo.io>",
Expand Down
6 changes: 3 additions & 3 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.12",
"version": "4.0.13",
"private": true,
"description": "Selenium IDE example suite, with tests, plugin, and export format",
"author": "Todd <tarsitodd@gmail.com>",
Expand All @@ -18,10 +18,10 @@
},
"dependencies": {
"side-code-export": "^4.0.11",
"@seleniumhq/code-export-python-pytest": "4.0.12"
"@seleniumhq/code-export-python-pytest": "4.0.13"
},
"devDependencies": {
"@seleniumhq/side-api": "4.0.12"
"@seleniumhq/side-api": "4.0.13"
},
"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.12",
"version": "4.0.13",
"private": false,
"description": "Selenium IDE format migrations",
"author": "Tomer <tomer@corevo.io>",
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.12",
"version": "4.0.13",
"private": false,
"description": "Selenium IDE shared models",
"author": "Tomer <tomer@corevo.io>",
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.12",
"version": "4.0.13",
"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.12",
"@seleniumhq/side-runtime": "4.0.12",
"@seleniumhq/side-model": "4.0.13",
"@seleniumhq/side-runtime": "4.0.13",
"commander": "^11.0.0",
"glob": "^10.3.1",
"jest": "^29.6.0",
Expand Down
16 changes: 8 additions & 8 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.12",
"version": "4.0.13",
"private": false,
"description": "Selenium IDE playback and execution",
"author": "Tomer <tomer@corevo.io>",
Expand All @@ -25,15 +25,15 @@
"url": "https://github.com/SeleniumHQ/selenium-ide/issues"
},
"devDependencies": {
"@seleniumhq/get-driver": "4.0.12",
"@seleniumhq/side-testkit": "4.0.12",
"@seleniumhq/webdriver-testkit": "4.0.12"
"@seleniumhq/get-driver": "4.0.13",
"@seleniumhq/side-testkit": "4.0.13",
"@seleniumhq/webdriver-testkit": "4.0.13"
},
"dependencies": {
"@seleniumhq/side-commons": "4.0.12",
"@seleniumhq/side-model": "4.0.12",
"@types/selenium-webdriver": "^4.1.22",
"selenium-webdriver": "^4.20.0"
"@seleniumhq/side-commons": "4.0.13",
"@seleniumhq/side-model": "4.0.13",
"@types/selenium-webdriver": "^4.1.26",
"selenium-webdriver": "^4.25.0"
},
"gitHead": "507c7c802f34196e6ee4800bf5c0b36553d41369"
}
4 changes: 3 additions & 1 deletion packages/side-runtime/src/webdriver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -860,7 +860,9 @@ export default class WebDriverExecutor {
commandObject.fallbackTargets
)
await element.clear()
await element.sendKeys(value)
if (value) {
await element.sendKeys(value)
}
}

async doSendKeys(
Expand Down
10 changes: 10 additions & 0 deletions packages/side-test-metaparser/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
module.exports = {
testEnvironmentOptions: {
url: 'http://localhost/index.html',
},
testMatch: ['**/packages/**/__test?(s)__/**/*.spec.[jt]s?(x)'],
testPathIgnorePatterns: ['/node_modules/', '/dist/'],
transform: {
'^.+\\.ts?$': 'ts-jest',
},
}
28 changes: 28 additions & 0 deletions packages/side-test-metaparser/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "@seleniumhq/side-test-metaparser",
"version": "4.0.13",
"private": false,
"description": "Reads code to JSON and back",
"author": "Todd Tarsi <tarsitodd@gmail.com>",
"homepage": "http://github.com/SeleniumHQ/selenium-ide",
"license": "Apache-2.0",
"scripts": {
"build": "tsc",
"clean": "rm -rf dist tsconfig.tsbuildinfo node_modules",
"try": "node dist/comment.ts",
"watch": "tsc --watch"
},
"main": "dist/index.js",
"types": "dist/index.d.ts",
"files": [
"dist"
],
"repository": {
"type": "git",
"url": "git+https://github.com/SeleniumHQ/selenium-ide.git"
},
"bugs": {
"url": "https://github.com/SeleniumHQ/selenium-ide/issues"
},
"gitHead": "507c7c802f34196e6ee4800bf5c0b36553d41369"
}
Loading

0 comments on commit 5d595cd

Please sign in to comment.