Fix Tutorial Ram Text (#162)

This updates the tutorial (and tests) to match the updated value of 8GB starting ram.
This commit is contained in:
jaculler 2022-10-27 06:25:45 -04:00 committed by GitHub
parent 279d18d65f
commit a40aa1bab2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

@ -448,7 +448,7 @@ export function InteractiveTutorialRoot(): React.ReactElement {
content: ( content: (
<> <>
<Typography> <Typography>
We have 4GB of free RAM on this machine, which is enough to run our script. Let's run our script using We have 8GB of free RAM on this machine, which is enough to run our script. Let's run our script using
</Typography> </Typography>
<Typography classes={{ root: classes.textfield }}>{`[home ~/]> run ${tutorialScriptName}`}</Typography> <Typography classes={{ root: classes.textfield }}>{`[home ~/]> run ${tutorialScriptName}`}</Typography>
</> </>

@ -60,7 +60,7 @@ describe("tutorial", () => {
cy.findByText(/now we'll run the script/i); cy.findByText(/now we'll run the script/i);
cy.findByRole("textbox").type("free{enter}"); cy.findByRole("textbox").type("free{enter}");
cy.findByText(/We have 4GB of free RAM on this machine/i); cy.findByText(/We have 8GB of free RAM on this machine/i);
cy.findByRole("textbox").type("run n00dles.script{enter}"); cy.findByRole("textbox").type("run n00dles.script{enter}");
cy.findByText(/Your script is now running/i); cy.findByText(/Your script is now running/i);