featuring:
demos:
featuring:
demos:
| import socket | |
| # Sauce only tunnels certain ports, so we need to pick one of those ports and it should be | |
| # not used. | |
| # See port list at: https://saucelabs.com/docs/connect#localhost | |
| PORTS = [2000, 2001, 2020, 2222, 3000, 3001, 3030, 3333, 4000, 4001, 4040, 5000, 5001, 5050, 5555, 6000, 6001, 6060, 6666, 7000, 7070, 7777, 8000, 8001, 8080, 8888, 9000, 9001, 9080, 9090, 9999, 4502, 4503, 8003, 8031] | |
| def get_free_port(): | |
| for port in PORTS: | |
| sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) |
| *** Settings *** | |
| Documentation A test suite with a single test for valid login. This test has | |
| ... a workflow that is created using keywords from the resource file. | |
| Resource resource.txt | |
| *** Test Cases *** | |
| Valid Login |