Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GDB-11410 Skip broken tests #1816

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions e2e-tests/e2e-flaky/setup/sparql-template-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {MainMenuSteps} from "../../steps/main-menu-steps";
import {RepositorySelectorSteps} from "../../steps/repository-selector-steps";
import {SparqlTemplatesSteps} from "../../steps/setup/sparql-templates-steps";

// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe('SPARQL create template', () => {

let repositoryId;
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-flaky/sparql-editor/yasr/table-plugin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ import {YasrSteps} from "../../../steps/yasgui/yasr-steps";
import {ApplicationSteps} from "../../../steps/application-steps";
import {TablePluginSteps} from "../../../steps/yasgui/table-plugin-steps";

describe('Yasr Table plugin', () => {
//TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Yasr Table plugin', () => {
let repositoryId;
beforeEach(() => {
repositoryId = 'sparql-editor-' + Date.now();
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/explore/class.hierarchy.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ const CLASS_COUNT_OF_NEWS_GRAPH = 35;
const FILE_TO_IMPORT = 'wine.rdf';
const CLASS_HIERARCHY = 'class hierarchy';

describe('Class hierarchy screen validation', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Class hierarchy screen validation', () => {
let repositoryId;

beforeEach(() => {
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/explore/class.relationships.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import ClassViewsSteps, {ALL_GRAPHS, GRAPH_FILE, NEWS_GRAPH} from "../../steps/c

const FILE_TO_IMPORT = 'wine.rdf';

describe('Class relations screen validation', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Class relations screen validation', () => {

let repositoryId;

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/explore/graphs.overview.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ const EXPORT_GRAPHS_TABLE_ID = '#export-graphs';
const ROWS_PER_PAGE_20 = '1';
const ROWS_PER_PAGE_ALL = '2';

describe('Graphs overview screen validation', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Graphs overview screen validation', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const FILE_TO_IMPORT = 'wine.rdf';
const QUERY_START = `# CONSTRUCT or DESCRIBE query. The results will be rendered visually as a graph of triples.\nCONSTRUCT WHERE {\n\t?s ?p ?o\n} LIMIT 10`;
const QUERY_EXPAND_NODE = `# Note that ?node is the node you clicked and must be used in the query\nPREFIX rank: <http://www.ontotext.com/owlim/RDFRank#>\nPREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>\n\nCONSTRUCT {\n # The triples that will be added to the visual graph\n ?node ?edge ?newNodeLTR .\n ?newNodeRTL ?edge ?node .\n} WHERE {\n {\n # Left to right relations (starting IRI is the subject)\n ?node ?edge ?newNodeLTR .\n\n # Select only IRIs\n FILTER(isIRI(?newNodeLTR) || rdf:isTriple(?newNodeLTR))\n } UNION {\n # Right to left relations (starting IRI is the object)\n ?newNodeRTL ?edge ?node .\n\n # Select only IRIs\n FILTER(isIRI(?newNodeRTL) || rdf:isTriple(?newNodeRTL))\n }\n FILTER(isIRI(?node) || rdf:isTriple(?node))\n} ORDER BY ?edge`;

describe('Graphs config', () => {
// TODO: Fix me. Broken due to migration (Error unknown)
describe.skip('Graphs config', () => {

let repositoryId = 'graphRepo' + Date.now();
let graphConfigName = 'graph-config';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import {AutocompleteStubs} from "../../../stubs/autocomplete/autocomplete-stubs"
const FILE_TO_IMPORT = 'wine.rdf';
const VALID_RESOURCE = 'USRegion';

describe('Visual graph screen validation', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
describe.skip('Visual graph screen validation', () => {

let repositoryId;

Expand Down Expand Up @@ -228,7 +229,7 @@ describe('Visual graph screen validation', () => {
cy.get('.incontext-search-rdf-resource input').should('be.visible');
});

it('Test expand collapsed node which has connections with double click', () => {
it('Test expand collapsed node which has connections with double click', () => {
VisualGraphSteps.openUSRegionUri();
VisualGraphSteps.toggleInferredStatements(false);

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/home/create-repository.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ describe('Create repository', () => {
cy.deleteRepository(repositoryId);
});

it('Test saved SPARQL queries links on home page and confirm dialog appearance', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
it.skip('Test saved SPARQL queries links on home page and confirm dialog appearance', () => {
const repositoryId = HomeSteps.createRepo();
HomeSteps.selectRepo(repositoryId);

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {ImportServerFilesSteps} from "../../steps/import/import-server-files-steps";
import {ImportSettingsDialogSteps} from "../../steps/import/import-settings-dialog-steps";

describe('Import server files - Batch operations', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Import server files - Batch operations', () => {

let repositoryId;

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/import/import-server-files.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {ImportSettingsDialogSteps} from "../../steps/import/import-settings-dial
import {ImportResourceMessageDialog} from "../../steps/import/import-resource-message-dialog";
import {ApplicationSteps} from "../../steps/application-steps";

describe('Import server files', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Import server files', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ const jsonld = JSON.stringify({
"ab:email": "[email protected]"
});

describe('Import user data: File upload', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Import user data: File upload', () => {

let repositoryId;
const testFiles = [
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {ImportUserDataSteps} from "../../steps/import/import-user-data-steps";
import {ImportSettingsDialogSteps} from "../../steps/import/import-settings-dialog-steps";

describe('Import user data: Text snippet', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Import user data: Text snippet', () => {

let repositoryId;
const INITIAL_DATA = "<urn:s1> <urn:p1> <urn:o1>.";
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/import/import-user-data-url.spec.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import {ImportUserDataSteps} from "../../steps/import/import-user-data-steps";
import {ImportSettingsDialogSteps} from "../../steps/import/import-settings-dialog-steps";

describe('Import user data: URL import', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Import user data: URL import', () => {

let repositoryId;

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/import/import-user-data.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const RDF_TEXT_SNIPPET = '@prefix ab:<http://learningsparql.com/ns/addressbook#>
'ab:richard ab:homeTel "(229)276-5135".\n' +
'ab:richard ab:email "[email protected]".';

describe('Import user data', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
describe.skip('Import user data', () => {

let repositoryId;

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/import/import-view.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ describe('Import view', () => {
ImportUserDataSteps.checkImportedResource(0, 'bnodes.ttl');
});

it('Should display/hide help message depends on resource result', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
it.skip('Should display/hide help message depends on resource result', () => {
// Given I am on import page

// Then help message has to be displayed, because the result of imported files are empty.
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/monitor/monitor.resources.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ describe('Monitor Resources', () => {
verifyCharts(charts);
});

it('Performance monitoring tab should show charts', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
it.skip('Performance monitoring tab should show charts', () => {
getTabButtons().eq(1).click();
const charts = [{
id: 'activeQueries',
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/resource/resource.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const OBJECT_RESOURCE = 'http:%2F%2Fexample.com%2Fontology%23Metric';
const IMPLICIT_EXPLICIT_RESOURCE = 'http:%2F%2Fwww.w3.org%2F1999%2F02%2F22-rdf-syntax-ns%23type';
const TRIPLE_RESOURCE = '%3C%3C%3Chttp:%2F%2Fexample.com%2Fresource%2Fperson%2FW6J1827%3E%20%3Chttp:%2F%2Fexample.com%2Fontology%23hasAddress%3E%20%3Chttp:%2F%2Fexample.com%2Fresource%2Fperson%2FW6J1827%2Faddress%3E%3E%3E';

describe('Resource view', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
describe.skip('Resource view', () => {
let repositoryId;
beforeEach(() => {
repositoryId = 'repository-' + Date.now();
Expand Down
4 changes: 3 additions & 1 deletion e2e-tests/e2e-legacy/setup/aclmanagement/create-rule.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import {AclManagementSteps} from "../../../steps/setup/acl-management-steps";
import {ACL_VIEW} from "../../../steps/setup/acl-management-steps";
import {ApplicationSteps} from "../../../steps/application-steps";

describe('ACL Management: create rule', () => {

// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('ACL Management: create rule', () => {

let repositoryId;

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/setup/aclmanagement/edit-rule.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import {AclManagementSteps} from "../../../steps/setup/acl-management-steps";
import {ACL_VIEW} from "../../../steps/setup/acl-management-steps";
import {ApplicationSteps} from "../../../steps/application-steps";

describe('ACL Management: edit rule', () => {
//TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('ACL Management: edit rule', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ import {AclManagementSteps} from "../../../steps/setup/acl-management-steps";
import {ACL_VIEW} from "../../../steps/setup/acl-management-steps";
import {ApplicationSteps} from "../../../steps/application-steps";

describe('ACL Management: reorder rules', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('ACL Management: reorder rules', () => {

let repositoryId;

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/setup/aclmanagement/scopes.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ describe('ACL Management: rule scopes', () => {
AclManagementSteps.getActiveTab().should('have.text', 'System');
});

it('Should create rules', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
it.skip('Should create rules', () => {
// I select Clear graph tab
AclManagementSteps.selectTab(1);
AclManagementSteps.getActiveTab().should('have.text', 'Clear graph');
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/setup/connectors-lucene.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ describe('Setup / Connectors - Lucene', () => {
cy.deleteRepository(repositoryId);
});

it('Test that no indexes are available', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
it.skip('Test that no indexes are available', () => {
getConnectorsPage()
.should('be.visible')
.and('contain', 'No connector instances.');
Expand Down
6 changes: 4 additions & 2 deletions e2e-tests/e2e-legacy/setup/my-settings.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,8 @@ describe('My Settings', () => {
.and('be.disabled');
});

it('should change settings for admin and verify changes are reflected in SPARQL editor', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
it.skip('should change settings for admin and verify changes are reflected in SPARQL editor', () => {
SecurityStubs.resetGetAdminUserStub();
cy.get('.sparql-editor-settings').should('be.visible');

Expand Down Expand Up @@ -137,7 +138,8 @@ describe('My Settings', () => {
});
});

it('Should test the "Show schema ON/OFF by default in visual graph" setting in My Settings', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
it.skip('Should test the "Show schema ON/OFF by default in visual graph" setting in My Settings', () => {
const DRY_GRAPH = "http://www.w3.org/TR/2003/PR-owl-guide-20031209/wine#Dry";
//Verify that schema statements are ON in My settings
cy.get('#schema-on').find('.switch:checkbox').should('be.checked');
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/setup/sparql-template-create.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import {RepositorySelectorSteps} from "../../steps/repository-selector-steps";
import {SparqlTemplatesSteps} from "../../steps/setup/sparql-templates-steps";
import {ImportUserDataSteps} from "../../steps/import/import-user-data-steps";

describe('SPARQL create template', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
describe.skip('SPARQL create template', () => {

let repositoryId;
let secondRepositoryId;
Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/setup/sparql-templates.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ describe('SPARQL Templates', () => {
SparqlTemplatesSteps.getNoTemplateDefinedElement().should('contain.text', 'No templates are defined');
});

it('should create a query and delete it', () => {
// TODO: Fix me. Broken due to migration (Error: unknown)
it.skip('should create a query and delete it', () => {
// When I visit 'Sparql templates' view,
// and click on create template button.
SparqlTemplatesSteps.clickOnCreateSparqlTemplateButton();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import {YasguiSteps} from "../../../steps/yasgui/yasgui-steps";
import {QueryStubs} from "../../../stubs/yasgui/query-stubs";
import {YasqeSteps} from "../../../steps/yasgui/yasqe-steps";

describe('Execute query', () => {
/**
* TODO: Fix me. Broken due to migration (Error: beforeEach)
*/
describe.skip('Execute query', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import {YasguiSteps} from "../../../steps/yasgui/yasgui-steps";
import {YasqeSteps} from "../../../steps/yasgui/yasqe-steps";
import {QueryStubDescription, QueryStubs} from "../../../stubs/yasgui/query-stubs";

describe('Expand results over owl:sameAs', () => {
/**
* TODO: Fix me. Broken due to migration (Error: beforeEach)
*/
describe.skip('Expand results over owl:sameAs', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import {YasguiSteps} from "../../../steps/yasgui/yasgui-steps";
import {YasqeSteps} from "../../../steps/yasgui/yasqe-steps";
import {QueryStubDescription, QueryStubs} from "../../../stubs/yasgui/query-stubs";

describe('Include inferred statements', () => {
/**
* TODO: Fix me. Broken due to migration (Error: beforeEach)
*/
describe.skip('Include inferred statements', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ import {SparqlEditorSteps} from "../../../steps/sparql-editor-steps";
import {YasqeSteps} from "../../../steps/yasgui/yasqe-steps";
import {RepositoriesStub} from "../../../stubs/repositories-stub";

describe('Expand results over owl:sameAs', () => {
/**
* TODO: Fix me. Broken due to migration (Error: beforeEach)
*/
describe.skip('Expand results over owl:sameAs', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import {SaveQueryDialog} from "../../../steps/yasgui/save-query-dialog";
import {SavedQuery} from "../../../steps/yasgui/saved-query";
import {SavedQueriesDialog} from "../../../steps/yasgui/saved-queries-dialog";

describe('Save query', () => {
//TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Save query', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import {YasguiSteps} from "../../../steps/yasgui/yasgui-steps";
import {SavedQueriesDialog} from "../../../steps/yasgui/saved-queries-dialog";
import {QueryStubs} from "../../../stubs/yasgui/query-stubs";

describe('Show saved queries', () => {

/**
* TODO: Fix me. Broken due to migration (Error: beforeEach)
*/
describe.skip('Show saved queries', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ import {SavedQuery} from "../../../steps/yasgui/saved-query";
import {SavedQueriesDialog} from "../../../steps/yasgui/saved-queries-dialog";
import {SaveQueryDialog} from "../../../steps/yasgui/save-query-dialog";

describe('Delete saved queries', () => {
/**
* TODO: Fix me. Broken due to migration (Error: beforeEach)
*/
describe.skip('Delete saved queries', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ import {SavedQuery} from "../../../steps/yasgui/saved-query";
import {SavedQueriesDialog} from "../../../steps/yasgui/saved-queries-dialog";
import {SaveQueryDialog} from "../../../steps/yasgui/save-query-dialog";

describe('Edit saved queries', () => {
/**
* TODO: Fix me. Broken due to migration (Error: beforeEach)
*/
describe.skip('Edit saved queries', () => {

let repositoryId;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ import {DEFAULT_QUERY, SavedQuery} from "../../../steps/yasgui/saved-query";
import {SavedQueriesDialog} from "../../../steps/yasgui/saved-queries-dialog";
import {ShareSavedQueryDialog} from "../../../steps/yasgui/share-saved-query-dialog";

describe('Share saved queries', () => {

/**
* TODO: Fix me. Broken due to migration (Error: beforeEach)
*/
describe.skip('Share saved queries', () => {

let repositoryId;

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/sparql-editor/sparql-editor.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ import {YasqeSteps} from "../../steps/yasgui/yasqe-steps";
import {YasrSteps} from "../../steps/yasgui/yasr-steps";
import {RepositorySelectorSteps} from "../../steps/repository-selector-steps";

describe('Sparql editor', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Sparql editor', () => {
let repositoryId;
let secondRepositoryId;

Expand Down
3 changes: 2 additions & 1 deletion e2e-tests/e2e-legacy/sparql-editor/yasgui-tabs.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ import {QueryStubs} from "../../stubs/yasgui/query-stubs";
import {MainMenuSteps} from "../../steps/main-menu-steps";
import {ModalDialogSteps} from "../../steps/modal-dialog-steps";

describe('Yasgui tabs', () => {
// TODO: Fix me. Broken due to migration (Error: beforeEach)
describe.skip('Yasgui tabs', () => {

let repositoryId;
beforeEach(() => {
Expand Down
Loading