Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
set -e
MODEL="phi3"
CODE="$(cat)"
if [ -z "$CODE" ]; then
echo "No code selected"
exit 0
fi
#!/usr/bin/env bash
set -e
MODEL="phi3"
CODE="$(cat)"
if [ -z "$CODE" ]; then
echo "No code selected"
exit 0
fi
name: testRigor E2E
on:
workflow_dispatch:
push:
branches: [ "main" ]
jobs:
testrigor:
runs-on: ubuntu-latest
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.example</groupId>
<artifactId>Demo2</artifactId>
<version>1.0-SNAPSHOT</version>
Site: https://www.saucedemo.com/
Scope: Login only
Checklist:
1) Valid login -> Products page is opened
2) Invalid password -> error message is shown
3) Invalid username -> error message is shown
4) Empty fields -> validation error
5) Locked user -> locked user error is shown