Skip to content

Commit

Permalink
chore: modify cspell config and fix all typos (#6908)
Browse files Browse the repository at this point in the history
  • Loading branch information
ozyx committed Aug 10, 2023
1 parent 9be9c5e commit 10f3e13
Show file tree
Hide file tree
Showing 71 changed files with 141 additions and 218 deletions.
99 changes: 11 additions & 88 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -140,38 +140,24 @@
"pathing",
"pases",
"testcases",
"Responsefrom",
"Verficiation",
"persistable",
"Noneditable",
"Persistability",
"persistability",
"peristable",
"listitem",
"Gantt",
"timelist",
"Indepdenent",
"timestrip",
"Implimenting",
"proprety",
"networkevents",
"stablize",
"fetchpriority",
"visibity",
"Hiearchy",
"persistible",
"persistable",
"Persistable",
"persistability",
"Persistability",
"testdata",
"Testdata",
"metdata",
"Snaphot",
"timeconductor",
"Endtimes",
"contenteditable",
"respone",
"Testsuite",
"autoscale",
"Autoscale",
"reflexted",
"prepan",
"sinewave",
"cyanish",
Expand All @@ -190,54 +176,40 @@
"Imageurl",
"thumbstrip",
"checkmark",
"acknowldeged",
"Unshelve",
"autosized",
"chacskaylo",
"Telmetry",
"numberfield",
"OPENMCT",
"MILISECONDS",
"Autoflow",
"Timelist",
"faultmanagement",
"localed",
"avaiable",
"GEOSPATIAL",
"geospatial",
"plotspatial",
"annnotation",
"keystrings",
"undelete",
"sometag",
"nameespace",
"containee",
"composability",
"mutables",
"Mutables",
"composee",
"handleoutsideclick",
"Datetime",
"funtion",
"Perc",
"autodismiss",
"Notifiation",
"notificiation",
"filetree",
"deeptailor",
"keystring",
"Persistable",
"Inovke",
"reindex",
"modifed",
"unlisten",
"symbolsfont",
"ellipsize",
"dismissable",
"TIMESYSTEM",
"Metadatas",
"modifyed",
"stategy",
"stalenes",
"receieves",
"unsub",
Expand All @@ -249,21 +221,15 @@
"granually",
"timesystem",
"metadatas",
"posess",
"iteratees",
"metadatum",
"printj",
"sprintf",
"unlisteners",
"amts",
"reregistered",
"opemct",
"specifiy",
"loged",
"hudsonfoo",
"onclone",
"instatation",
"instatiated",
"autoflow",
"xdescribe",
"mockmct",
Expand All @@ -282,8 +248,6 @@
"showline",
"bglayer",
"autorange",
"telmetry",
"subcribe",
"hoverinfo",
"dotful",
"Dotful",
Expand All @@ -305,7 +269,6 @@
"inspectable",
"Stringformatter",
"sclk",
"compostion",
"Objectpath",
"Keystring",
"duplicatable",
Expand All @@ -315,11 +278,7 @@
"callthrough",
"objectpath",
"createable",
"applie",
"noneditable",
"infinte",
"occured",
"Occured",
"Classname",
"classname",
"selectedfaults",
Expand Down Expand Up @@ -351,16 +310,12 @@
"TIMESTRIP",
"TWENTYFOUR",
"FULLSIZE",
"doesnt",
"intialize",
"Timestrip",
"spyon",
"Unlistener",
"multipane",
"DATESTRING",
"requred",
"telemtry",
"lastest",
"akhenry",
"Niklas",
"Hertzen",
Expand All @@ -383,7 +338,6 @@
"Yuxi",
"ACITON",
"localstorage",
"Compostion",
"Linkto",
"Painterro",
"Editability",
Expand All @@ -393,17 +347,13 @@
"notebookstorage",
"Andpage",
"pixelize",
"incremement",
"Couche",
"namepaces",
"Quickstart",
"indexhtml",
"youradminpassword",
"chttpd",
"sourcefiles",
"USERPASS",
"XPUT",
"referer",
"adipiscing",
"eiusmod",
"tempor",
Expand All @@ -416,43 +366,21 @@
"submodels",
"symlog",
"Plottable",
"dont",
"sinwave",
"necesarry",
"antisymlog",
"docstrings",
"unavailab",
"eelement",
"mediump",
"webglcontextlost",
"gridlines",
"Xaxis",
"Crosshairs",
"telemetrylimit",
"createble",
"xscale",
"yscale",
"temparature",
"configurration",
"envoke",
"untracks",
"Recieve",
"swatched",
"NULLVALUE",
"intial",
"Retreives",
"assoicated",
"cotains",
"thet",
"Initialze",
"unobserver",
"unsubscriber",
"generateor",
"Intantiate",
"drap",
"historial",
"evalutes",
"initialzes",
"Averager",
"averager",
"movecolumnfromindex",
Expand All @@ -463,17 +391,13 @@
"Hitarea",
"Unmark",
"controlbar",
"examplar",
"reactified",
"valuelue",
"perc",
"DHMS",
"timespans",
"timeframes",
"Timesystems",
"Syste",
"Hilite",
"screan",
"datetimes",
"momentified",
"ucontents",
Expand All @@ -500,7 +424,6 @@
"bfill",
"ctitle",
"eicon",
"ccircle",
"interactability",
"AFFORDANCES",
"affordance",
Expand Down Expand Up @@ -530,7 +453,6 @@
"gridlayer",
"xtick",
"ytick",
"notabook",
"subobjects",
"Ucontents",
"Userand",
Expand All @@ -544,26 +466,27 @@
"haslink",
"VPID",
"vpid",
"paramater",
"paramaters",
"updatedtest",
"broser",
"KHTML",
"Chromezilla",
"Safarifox",
"deregistering",
"hundredtized",
"dhms",
"unthrottled",
"Codecov"
"Codecov",
"dont",
"mediump"
],
"dictionaries": ["npm", "software-terms"],
"dictionaries": ["npm", "softwareTerms", "node", "html", "css", "bash", "en_US"],
"ignorePaths": [
"package.json",
"dist/**",
"package-lock.json",
"node_modules",
"coverage",
"*.log"
"*.log",
"html-test-results",
"test-results"
]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,10 @@ To run the performance tests:

`npm run test:perf`

The test suite is configured to all tests localed in `e2e/tests/` ending in `*.e2e.spec.js`. For more about the e2e test suite, please see the [README](./e2e/README.md)
The test suite is configured to all tests located in `e2e/tests/` ending in `*.e2e.spec.js`. For more about the e2e test suite, please see the [README](./e2e/README.md)

### Security Tests
Each commit is analyzed for known security vulnerabilities using [CodeQL](https://codeql.github.com/docs/codeql-language-guides/codeql-library-for-javascript/). The list of CWE coverage items is avaiable in the [CodeQL docs](https://codeql.github.com/codeql-query-help/javascript-cwe/). The CodeQL workflow is specified in the [CodeQL analysis file](./.github/workflows/codeql-analysis.yml) and the custom [CodeQL config](./.github/codeql/codeql-config.yml).
Each commit is analyzed for known security vulnerabilities using [CodeQL](https://codeql.github.com/docs/codeql-language-guides/codeql-library-for-javascript/). The list of CWE coverage items is available in the [CodeQL docs](https://codeql.github.com/codeql-query-help/javascript-cwe/). The CodeQL workflow is specified in the [CodeQL analysis file](./.github/workflows/codeql-analysis.yml) and the custom [CodeQL config](./.github/codeql/codeql-config.yml).

### Test Reporting and Code Coverage

Expand Down
4 changes: 2 additions & 2 deletions e2e/tests/functional/couchdb.e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ test.describe('CouchDB Status Indicator with mocked responses @couchdb', () => {
test.describe('CouchDB initialization with mocked responses @couchdb', () => {
test.use({ failOnConsoleError: false });
test("'My Items' folder is created if it doesn't exist", async ({ page }) => {
const mockedMissingObjectResponsefromCouchDB = {
const mockedMissingObjectResponseFromCouchDB = {
status: 404,
contentType: 'application/json',
body: JSON.stringify({})
Expand All @@ -92,7 +92,7 @@ test.describe('CouchDB initialization with mocked responses @couchdb', () => {
await page.route(
'**/mine',
(route) => {
route.fulfill(mockedMissingObjectResponsefromCouchDB);
route.fulfill(mockedMissingObjectResponseFromCouchDB);
},
{ times: 1 }
);
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/functional/example/eventGenerator.e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ test.describe('Example Event Generator CRUD Operations', () => {
});
});

test.describe('Example Event Generator Telemetry Event Verficiation', () => {
test.describe('Example Event Generator Telemetry Event Verification', () => {
test.fixme('telemetry is coming in for test event', async ({ page }) => {
// Go to object created in step one
// Verify the telemetry table is filled with > 1 row
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/functional/moveAndLinkObjects.e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ test.describe('Move & link item tests', () => {
});

test.fixme(
'Cannot move a previously created domain object to non-peristable object in Move Modal',
'Cannot move a previously created domain object to non-persistable object in Move Modal',
async ({ page }) => {
//Create a domain object
//Save Domain object
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/functional/planning/timestrip.e2e.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const testPlan = {
};

test.describe('Time Strip', () => {
test('Create two Time Strips, add a single Plan to both, and verify they can have separate Indepdenent Time Contexts @unstable', async ({
test('Create two Time Strips, add a single Plan to both, and verify they can have separate Independent Time Contexts @unstable', async ({
page
}) => {
test.info().annotations.push({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

/*
This test suite is dedicated to tests which verify the basic operations surrounding conditionSets. Note: this
suite is sharing state between tests which is considered an anti-pattern. Implimenting in this way to
suite is sharing state between tests which is considered an anti-pattern. Implementing in this way to
demonstrate some playwright for test developers. This pattern should not be re-used in other CRUD suites.
*/

Expand Down Expand Up @@ -127,7 +127,7 @@ test.describe.serial('Condition Set CRUD Operations on @localStorage', () => {
// Verify Inspector Details has updated Name property
expect.soft(page.locator('text=Renamed Condition Set').nth(2)).toBeTruthy();

// Verify Tree reflects updated Name proprety
// Verify Tree reflects updated Name property
// Expand Tree
await page.locator(`text=Open MCT ${myItemsFolderName} >> span >> nth=3`).click();
// Verify Condition Set Object is renamed in Tree
Expand All @@ -150,7 +150,7 @@ test.describe.serial('Condition Set CRUD Operations on @localStorage', () => {
// Verify Inspector Details has updated Name property
expect.soft(page.locator('text=Renamed Condition Set').nth(2)).toBeTruthy();

// Verify Tree reflects updated Name proprety
// Verify Tree reflects updated Name property
// Expand Tree
await page.locator(`text=Open MCT ${myItemsFolderName} >> span >> nth=3`).click();
// Verify Condition Set Object is renamed in Tree
Expand Down

0 comments on commit 10f3e13

Please sign in to comment.