Giter Site home page Giter Site logo

labkey / testautomation Goto Github PK

View Code? Open in Web Editor NEW
1.0 28.0 9.0 85.32 MB

LabKey Server testing infrastructure and helpers

HTML 4.44% JavaScript 2.30% R 0.44% Java 92.29% PLpgSQL 0.19% Shell 0.05% TSQL 0.25% Perl 0.02% Batchfile 0.01% C++ 0.01% CSS 0.01% Rich Text Format 0.01%
labkey-test-container

testautomation's Introduction

LabKey Selenium WebDriver Test Library

This repository contains base test classes and helpers for LabKey's functional Selenium tests.

Test Setup

  1. Clone this into the server directory of your LabKey enlistment. More details on setting up a development environment can be found on labkey.org.

  2. Install web browser and browser driver. In order to run the Selenium tests, you will need a web browser and the corresponding browser driver. You should install the newest driver compatible with your browser. Driver executable should be available on your system PATH.

    • Firefox
    • Google Chrome
      • Chromedriver
      • Note: Updates frequently and should be kept in sync with Chrome browser version
    • Other Browsers
      • Edge, Safari, Opera, etc. are not currently supported.
  3. Run ./gradlew :server:testAutomation:initProperties to generate the test.properties file. If setting up a fresh development environment, this will run automatically with the root ijConfigure task.

    • Update selenium.browser to specify the browser you want to run against ("chrome" or "firefox")
  4. Verify test setup

    1. Build LabKey and start server
    2. Run tests: ./gradlew :server:testAutomation:uiTests -Psuite=DRT

testautomation's People

Contributors

labkey-tchad avatar labkey-adam avatar cnathe avatar labkey-chrisj avatar labkey-jeckels avatar labkey-kevink avatar labkey-klum avatar labkey-danield avatar labkey-nicka avatar labkey-matthewb avatar labkey-teamcity avatar labkey-susanh avatar labkey-tgaluhn avatar labkey-sweta avatar labkey-dave avatar labkey-alan avatar xingy avatar labkey-dax avatar labkey-ians avatar labkey-brittp avatar labkey-martyp avatar labkey-bpatel avatar labkey-jimp avatar labkey-aaronr avatar labkey-rond avatar labkey-eyounske avatar labkey-bradh avatar labkey-gktaylor avatar rosalinep avatar labkey-ankurj avatar

Stargazers

Bankn8II©$A avatar

Watchers

Lucian avatar Nick Kerr avatar James Cloos avatar Matt Yukes avatar  avatar  avatar Steve Hanson avatar  avatar  avatar  avatar  avatar  avatar  avatar Molly OHara avatar  avatar Jon Yoon avatar  avatar  avatar  avatar  avatar  avatar Ryan Luce avatar  avatar  avatar  avatar  avatar  avatar  avatar

testautomation's Issues

Should ./bin be added to gitignore?

My understanding is that we're supposed to download the browser drivers into ./testAutomation/bin. If true, should this location be added to .gitignore?

Limiting Active Users - selenium tests

Rationale

We want the option for LabKey Server deployments to limit the number of active users. See the spec for details: https://docs.google.com/document/d/15TenwfucW9XNO8OhHB6ibEIIyxPycbB9SqcXtoimcgE/edit#

This story adds automation for this new feature.

Related Pull Requests

Tasks

Clean up deprecated list test classes

We've been gradually removing redundant functionality from ListHelper. ListColumn and and ListColumnType were deprecated in 20.4 in favor of the more widely used and generic FieldDefinition.

  • Update non-list tests to create lists via API
  • Fix API helpers to create integer key lists correctly
  • Remove deprecated classes from ListHelper
  • Code review - @labkey-danield
  • TeamCity verification and merge

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.