Skip to content

Commit

Permalink
Remove
Browse files Browse the repository at this point in the history
  • Loading branch information
RickiJay-WMDE committed Oct 17, 2023
1 parent 6387443 commit 4c96419
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 180 deletions.
164 changes: 0 additions & 164 deletions test/helpers/WDIOWikibaseApiPatch.js

This file was deleted.

2 changes: 1 addition & 1 deletion test/helpers/default-functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import axios, { AxiosResponse } from 'axios';
import assert from 'assert';
import { exec } from 'child_process';
import lodash from 'lodash';
import WikibaseApi from './WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';
import BotResponse from './types/bot-response.js';
import DatabaseConfig from './types/database-config.js';
import LuaCPUValue from './types/lua-cpu-value.js';
Expand Down
2 changes: 1 addition & 1 deletion test/specs/elasticsearch/elasticsearch.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import { getTestString } from 'wdio-mediawiki/Util.js';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';
import SearchResult from '../../helpers/types/search-result.js';

const itemAlias: string = getTestString( 'alias' );
Expand Down
2 changes: 1 addition & 1 deletion test/specs/fedprops/item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getTestString } from 'wdio-mediawiki/Util.js';
import assert from 'assert';
import QueryServiceUI from '../../helpers/pages/queryservice-ui/queryservice-ui.page.js';
import ItemPage from 'wdio-wikibase/pageobjects/item.page.js';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';
import { AxiosError } from 'axios';

describe( 'Fed props Item', function () {
Expand Down
2 changes: 1 addition & 1 deletion test/specs/fedprops/prefetching.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { getTestString } from 'wdio-mediawiki/Util.js';
import assert from 'assert';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'Property Prefetching', function () {
let itemId: string;
Expand Down
2 changes: 1 addition & 1 deletion test/specs/quickstatements/quickstatements.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import lodash from 'lodash';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';
import { AxiosResponse } from 'axios';

type ReferenceValue = {
Expand Down
2 changes: 1 addition & 1 deletion test/specs/repo/api.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import { getTestString } from 'wdio-mediawiki/Util.js';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'Wikibase API', function () {
it( 'Should be able to create many properties and items', async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/specs/repo/extensions/wikibase-edtf.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import { skipIfExtensionNotPresent } from '../../../helpers/default-functions.js';
import WikibaseApi from '../../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'WikibaseEdtf', function () {
beforeEach( async function () {
Expand Down
2 changes: 1 addition & 1 deletion test/specs/repo/extensions/wikibase-local-media.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import assert from 'assert';
import SuiteLoginPage from '../../../helpers/pages/SuiteLoginPage.js';
import { skipIfExtensionNotPresent } from '../../../helpers/default-functions.js';
import WikibaseApi from '../../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'WikibaseLocalMedia', function () {
let propertyId: string;
Expand Down
2 changes: 1 addition & 1 deletion test/specs/repo/property.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import assert from 'assert';
import Property from '../../helpers/pages/entity/property.page.js';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'Property', function () {
let propertyId = null;
Expand Down
2 changes: 1 addition & 1 deletion test/specs/repo/queryservice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import assert from 'assert';
import QueryServiceUI from '../../helpers/pages/queryservice-ui/queryservice-ui.page.js';
import SuiteLoginPage from '../../helpers/pages/SuiteLoginPage.js';
import { stringify } from 'querystring';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'QueryService', () => {
it( 'Should not be able to post to sparql endpoint', async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/specs/repo/search.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'Search', function () {
it( 'Should be able to create an item and search for it', async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/specs/repo_client/extensions/scribunto-item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { stringify } from 'querystring';
import { readFile } from 'fs/promises';
import { skipIfExtensionNotPresent } from '../../../helpers/default-functions.js';
import { utf8 } from '../../../helpers/readFileEncoding.js';
import WikibaseApi from '../../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';
import ExternalChange from '../../../helpers/types/external-change.js';

const itemLabel = getTestString( 'The Item' );
Expand Down
2 changes: 1 addition & 1 deletion test/specs/repo_client/item.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { getTestString } from 'wdio-mediawiki/Util.js';
import assert from 'assert';
import SuiteLoginPage from '../../helpers/pages/SuiteLoginPage.js';
import { stringify } from 'querystring';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';
import ExternalChange from '../../helpers/types/external-change.js';

const itemLabel = getTestString( 'The Item' );
Expand Down
2 changes: 1 addition & 1 deletion test/specs/upgrade/pre-upgrade.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import assert from 'assert';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'Wikibase pre upgrade', function () {
it( 'Should be able to create a specific item', async () => {
Expand Down
2 changes: 1 addition & 1 deletion test/specs/upgrade/queryservice-post-upgrade.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import assert from 'assert';
import { getElementByURI } from '../../helpers/blazegraph.js';
import Binding from '../../helpers/types/binding.js';
import WikibaseApi from '../../helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';

describe( 'Wikibase post upgrade', function () {
const itemLabel = 'NewUpgradeItem';
Expand Down
2 changes: 1 addition & 1 deletion test/wdio.conf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { existsSync, mkdir, rm } from 'fs';
import JsonReporter from './helpers/json-reporter.js';
import { defaultFunctions as defaultFunctionsInit } from './helpers/default-functions.js';
import saveScreenshot from './helpers/WDIOMediawikiScreenshotPatch.js';
import WikibaseApi from './helpers/WDIOWikibaseApiPatch.js';
import WikibaseApi from 'wdio-wikibase/wikibase.api.js';
import { Options, Frameworks } from '@wdio/types';

const resultsDir = process.env.RESULTS_DIR;
Expand Down

0 comments on commit 4c96419

Please sign in to comment.