- {this.state.onlyOneConnectorConfig &&
-
-
- Warning! To completely test the JavaScript SDK you should be running with one Network and one Cloud connector configuration!
-
-
-
}
-
-
-
![]({"images/clover_logo.png"}/)
-
-
-
- {this.state.pairingCodeMsg &&
}
-
-
- Save Seleted Tests
-
-
- Test Name:
-
-
-
-
-
-
-
- Select/Deselect all tests:
-
-
-
-
-
-
-
- {menuItems}
-
-
-
-
-
-
- {this.state.displayConnectorConfig && }
-
-
-
-
-
- );
- }
-}
\ No newline at end of file
diff --git a/integration-test/public/app/components/Popup.js b/integration-test/public/app/components/Popup.js
deleted file mode 100644
index 1e2b9453..00000000
--- a/integration-test/public/app/components/Popup.js
+++ /dev/null
@@ -1,51 +0,0 @@
-import React from "react";
-
-export default class Popup extends React.Component {
- constructor(props) {
- super(props);
- this.state = {
- displayed: true,
- message: '',
- fadeBackground: false
- };
- this.closeCallback = this.closeCallback.bind(this);
- this.fadeBackground = this.fadeBackground.bind(this);
- this.unfadeBackground = this.unfadeBackground.bind(this);
- this.unfadeBackground = this.unfadeBackground.bind(this);
- this.setMessage = this.setMessage.bind(this);
- }
-
- closeCallback() {
- this.setState({fadeBackground: false, displayed: false});
- this.props.closeCallback();
- }
-
- setMessage(msg) {
- this.setState({message: msg});
- }
-
- fadeBackground(){ // fades background for popup
- this.setState({ fadeBackground: true });
- }
-
- unfadeBackground(){ // unfades background
- this.setState({ fadeBackground: false });
- }
-
- render () {
- let popup;
- if (this.state.displayed) {
- popup = ();
- } else {
- popup = null;
- }
-
- return (popup);
- }
-}
diff --git a/integration-test/public/app/components/ResultsGrid.js b/integration-test/public/app/components/ResultsGrid.js
deleted file mode 100644
index 049f3d46..00000000
--- a/integration-test/public/app/components/ResultsGrid.js
+++ /dev/null
@@ -1,119 +0,0 @@
-import React, {Component} from "react";
-import {AgGridReact} from "ag-grid-react";
-import * as ActionStatus from "../../test-engine/ActionStatus";
-
-export default class ResultsGrid extends Component {
-
- constructor(props) {
- super(props);
-
- this.state = {
- gridOptions: {
- context: {
- componentParent: this
- }
- },
- columnDefs: ResultsGrid.createColumnDefs(),
- getNodeChildDetails: function getNodeChildDetails(rowItem) {
- if (rowItem.before || rowItem.after) {
- rowItem.beforeAndAfters = rowItem.beforeAndAfters || [];
- if (rowItem.beforeAndAfters.length === 0) {
- // Don't reinitialize
- if (rowItem.before) {
- rowItem.before.forEach(beforeTest => {
- beforeTest.name += "(before)";
- });
- rowItem.beforeAndAfters = rowItem.beforeAndAfters.concat(rowItem.before);
- }
- if (rowItem.after) {
- rowItem.after.forEach(afterTest => {
- afterTest.name += "(after)";
- });
- rowItem.beforeAndAfters = rowItem.beforeAndAfters.concat(rowItem.after);
- }
- }
- return {
- group: true,
- expanded: true,
- children: rowItem.beforeAndAfters,
- key: rowItem.name
- };
- } else if (rowItem.testActions) {
- return {
- group: true,
- expanded: true,
- children: rowItem.testActions,
- key: rowItem.name
- };
- } else {
- return null;
- }
- }
- };
-
- this.onGridReady = this.onGridReady.bind(this);
- }
-
- componentDidUpdate(prevProps, prevState) {
- if (this.gridApi) {
- // Update the grid data, only if it changed.
- if (!this.props.rowData.equals(prevProps.rowData)) {
- this.gridApi.setRowData(this.props.rowData.toJS());
- }
- }
- }
-
- onGridReady(params) {
- this.gridApi = params.api;
- this.columnApi = params.columnApi;
- this.gridApi.sizeColumnsToFit();
- }
-
- static createColumnDefs() {
- return [
- {
- headerName: "Name",
- field: "name",
- cellRenderer: "group",
- width: 100,
- cellRendererParams: {
- padding: 10
- }
- },
- {
- headerName: "Status",
- field: "result.status",
- width: 60,
- cellRenderer: (params) => {
- if (params.value === ActionStatus.get().pass) {
- return `