GitHub auto-grading - node.js

Hi there,
friends, first I want to say I'm an absolute beginner. Your help makes me so motivated.
I am doing one assignment. they provide templates for the front end(angular) and back end (node.js, SQLite). I want to edit some code to complete that.
1. for the Front end
implement a searching functionality for the teacher and student classes
2. for the Back end
Update the readStudents function to read all student data.
Update the readStudentInfo function to read the information of a specified student.
Update the addStudent function to add a student.
Update the updateStudent function to update details of a specific student.
Update the deleteStudent function to delete a specified student.
I have completed all tasks myself.
I use GitHub to auto-grading it shows 80/160. I passed all back-end tasks but it shows I failed all front-end tasks.
The task for my side is to complete (implement a search functionality). so think that this is their side problem or any technical error.
I add the screenshot about auto-grading and the error message.
These are a few example images of errors, if you want to see all the error screenshots you ask me for, I will add this question.
..
The Back end is working fine. if I run npm start it works. it shows
capstone-project#1.0.0 start
node backend/index.js
DEV DB
Capstone Project Backend is running on http://localhost:8080
but if I click this link. there is nothing on my browser. it shows Cannot Get /
I you want to see any file of mine, u can ask I will add it here so fast.
please help me to solve this error. I am so tired to finish it. Your guide makes me move one step.
Thank you for read this :)

i found the error. the error is
Autograding
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout#v2, education/autograding#v1. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
friend, I hope it will use to help me.
How I update that

Related

Django 4 By Example code doesn't show body-contents at all

I'm reading a book the title is Django 4 By Example.
I tried to make chapter01 & 02.
I wrote codes following the explanation of the book, everything is okay without bugs, but the result was not good.
In my case, the body is empty.
So I download & migrate the canonical codes and execute it, but the result was the same.
Naturally I made some articles by admin as a superuser.
This result is like this.
I'm new to django, and to make web application, but this code is undoubtly the same as example codes.I'm using windows11 so I tried to do the same thing on windows10, but the result was the same.I tried to do on the Microsoft Edge & Google Chrome.
code is here. This image is chapter02.
django 4 by example github
Do you know this is what kind of problems?
Is this occured to me only?I don't find out the person who run into the same problem.
Many readers say this book is wonderful, yes, I think so, too. But I'm embarassed at this result.
This is the command prompt message.

How to attach the screenshot to each step in ExtentReport?

I'm trying to use ExtentReport with Cucumber v4. I'm able to generate the execution report at the end of the test case, including the proper step list (for all steps that were executed) with their screenshots.
However, although the screenshots are properly generated, the link that ties the step with its respective screenshot seems to be broken (when clicking on it, nothing happens).
Any ideas of what should I try?
Thanks in advance!

Blue Prism: Object not found when ran using Control Center, but runs without issue through Process Studio

During my process there is a drop-down html element that I have spied and set correctly. I run through the Object and Process studio without any issues. Once the same process is ran through the Control Room the element throws and error that it cannot be found.
I have tried multiple different configurations without any luck and the element is still found without issue when ran manually. I even checked by signing into the VM having it error and on the second retry had the VM up; at this stage the element was found without issue. It seems to only be when the bot is running and the screen is not up. No other elements give this issue and the next step is the same dropdown, but for a stop time not start.
Any help would be appreciated!
I have added pics of the STARTSPIED - START and ENDSPIED - END spied configs,the Navigation Stage, and the process correctly running in the Object Studio OB Studio correct.
Thank you!
For the person who down-voted this item...Configs here are my two days of config changes and research that I tried on my own before asking for help. This is my 5th automation that I have put into deployment without help, so thank you for down-voting someone trying to get help where they are stuck.
Your problem is most likely connected with the fact that processes run in the control room are executed much faster than in studio and your webpage might not be loaded on time (that would explain why it works after retry).
Best practice approach would be to add a dynamic wait stage after attach and use “Parent Document Loaded” option on the element you want to interact with. It will wait for the page to be loaded and then check exist for the element. I would also suggest splitting your action into two, first to set start date and second for end date.

Angular2 not updating/transpiling/compiling correctly

I'm a beginner with this framework and I'm frustrated. I've just about given up on learning Angular2 for now, but can someone please explain to me how I can copy line for line the code in the docs and it still not work?
Earlier on I've seen instances of it calling classes that I've long gotten rid of. I reinstalled everything, upgraded npm to 3.1.0, made sure node is up to date, and tried again. Maybe I shouldn't have taken this unfinished language up when I'm a beginner (no idea how to debug), but I'm speaking of the 'Heroes' tutorial on their site.
The view is supposed to show "Loading..." then get info from the app component. In the beginning, it loads as it should, but then I get to that "Master/Detail" in the tutorial and it all goes to boom boom. Let me show you my code:
Well this is the app component. This code worked at first until I got deeper into the tutorial. I go back to this code, and it doesn't work anymore. What gives? Followed the doc to the 't'
I had to comment out this code because it made the app mysteriously stop working. Stopped when I passed the array in the constant HEROES to the property heroes. Again, this is in the docs.
The index and module files are fine. I've stopped and restarted at least four times and I've about had it. I think I'll just finish learning the regular MEAN stack. Unless someone can come up with a reason why all of this is happening? I see no fault in my code. And even if there was, changing my code or undoing changes should produce results. IT DOESN'T!
I'm thinking it's more to do with the transpiling process, and it not updating TS to JS properly? Which could explain why I was still seeing error messages saying it was trying to call classes I've already gotten rid of.

Overriding Auto Generated EntityValidationErrors MVC5

I have an elaborate business listing form that I want people to fill out but it's to much to do in one go so I've broken it down into a four stages. The first stage creates the business and works fine but the second, third and fourth are then variations of the scaffolded "Edit" form with parts missing.
My problem is then I can't get past the EntityValidationErrors and get the following error:
Validation failed for one or more entities. See 'EntityValidationErrors' property for more details.
Which I understand but don't know how to fix?
THis is in MVC5 and .NET4.5 and a few things have changed that I need to work out!
I also have this all running on http://localhost// so any errors I get only come to me via the browser, not VS.
How should I proceed?
I just added a bunch of hiddedFor()'s on the pages for now!
I will have to go back and create view models for the different views but this works for now, time is money!

Resources